1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- 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)
This commit is contained in:
Marcus von Appen 2013-12-15 13:50:31 +00:00
parent 06210394dd
commit 9c75c72a82
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336532

View File

@ -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