summaryrefslogtreecommitdiff
path: root/graphics/lcms-python
diff options
context:
space:
mode:
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