From 9c75c72a8213ffd4341f865231a834503a2c79a5 Mon Sep 17 00:00:00 2001 From: Marcus von Appen Date: Sun, 15 Dec 2013 13:50:31 +0000 Subject: [PATCH] - 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) --- graphics/lcms-python/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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