aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/Makefile
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2020-09-14 15:48:18 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2020-09-14 15:48:18 +0000
commit713b96a4098aa45205716601e71ebacfe5713bc4 (patch)
treed38e53575cfa4e2689e317e6811ed99a14c3f4ce /net-mgmt/net-snmp/Makefile
parent4f324cb5a4a45961b6f6470000917908f1f3c67b (diff)
downloadports-713b96a4098aa45205716601e71ebacfe5713bc4.tar.gz
ports-713b96a4098aa45205716601e71ebacfe5713bc4.zip
- Fix PYTHON OPTION
- Require python 3.5+ PR: 249298 Submitted by: John Hein <jcfyecrayz@liamekaens.com>
Notes
Notes: svn path=/head/; revision=548623
Diffstat (limited to 'net-mgmt/net-snmp/Makefile')
-rw-r--r--net-mgmt/net-snmp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 310a9044106f..058ebbb659a7 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -77,7 +77,7 @@ 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:2.7
+USES+= python:3.5+
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