summaryrefslogtreecommitdiff
path: root/graphics/lcms-python
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2013-12-15 13:50:31 +0000
committerMarcus von Appen <mva@FreeBSD.org>2013-12-15 13:50:31 +0000
commit9c75c72a8213ffd4341f865231a834503a2c79a5 (patch)
treefc7a8feb2f043b33ce4753186eaee15ec79f4660 /graphics/lcms-python
parentnet/samba4: fix usage of python to remove implicit dependency (diff)
- Fix the usage of 'python' to get rid of the implicit lang/python
dependency - Restrict python to the supported versions Reported by: exp-run (PR 184591) Approved by: portmgr (blanket)
Diffstat (limited to 'graphics/lcms-python')
-rw-r--r--graphics/lcms-python/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/lcms-python/Makefile b/graphics/lcms-python/Makefile
index 9fe771f30f6c..a247e1bcfeb4 100644
--- a/graphics/lcms-python/Makefile
+++ b/graphics/lcms-python/Makefile
@@ -17,9 +17,10 @@ LIB_DEPENDS+= lcms:${PORTSDIR}/graphics/lcms
BUILD_WRKSRC= ${WRKSRC}/python
INSTALL_WRKSRC= ${WRKSRC}/python
-USE_PYTHON= yes
+USE_PYTHON= 2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-python
+CONFIGURE_ENV= PYTHON="${PYTHON_CMD}"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib