diff options
author | zi <zi@FreeBSD.org> | 2017-12-05 02:54:38 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2017-12-05 02:54:38 +0800 |
commit | 9494ebe91c601a226e37727e25c74cf43a25bcf9 (patch) | |
tree | 4ad8531943c985082b596fa1f496bd40df72fcf0 /net-mgmt | |
parent | ab2a9daba48249fa00767ed01d4f83d678cc0652 (diff) | |
download | freebsd-ports-gnome-9494ebe91c601a226e37727e25c74cf43a25bcf9.tar.gz freebsd-ports-gnome-9494ebe91c601a226e37727e25c74cf43a25bcf9.tar.zst freebsd-ports-gnome-9494ebe91c601a226e37727e25c74cf43a25bcf9.zip |
- Add flavor support for python
PR: 224092
Submitted by: Henrik Hudson
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/net-snmp/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 1bf28d2cf01c..937f5af4cbc4 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -75,9 +75,9 @@ TLS_CONFIGURE_ON= --with-security-modules=tsm --with-transports=TLSTCP,DTLSUDP .if ${PORT_OPTIONS:MPYTHON} PYDISTUTILS_PKGNAME?= netsnmp-python PYDISTUTILS_PKGVERSION?= 1.0a1 -USES+= python -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools -BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools +USES+= python:2.7 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} CONFIGURE_ARGS+=--with-python-modules CONFIGURE_ENV+= PYTHONPROG="${PYTHON_CMD}" MAKE_ENV+= PYDISTUTILS_INSTALLARGS="${PYDISTUTILS_INSTALLARGS}" STAGEDIR="${STAGEDIR}" |