aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2013-12-15 21:50:31 +0800
committermva <mva@FreeBSD.org>2013-12-15 21:50:31 +0800
commit00da0c7485093e5630e85f46a1b6cfaa32d2cd8b (patch)
treefc7a8feb2f043b33ce4753186eaee15ec79f4660
parentb8af5ad620b9d925cf99621fb3a07e8c60d224a0 (diff)
downloadfreebsd-ports-gnome-00da0c7485093e5630e85f46a1b6cfaa32d2cd8b.tar.gz
freebsd-ports-gnome-00da0c7485093e5630e85f46a1b6cfaa32d2cd8b.tar.zst
freebsd-ports-gnome-00da0c7485093e5630e85f46a1b6cfaa32d2cd8b.zip
- 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)
-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