aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/net-snmp
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2014-03-25 21:21:48 +0800
committerzi <zi@FreeBSD.org>2014-03-25 21:21:48 +0800
commitf7ad5110a7521b08fbfafc1ebbcaf587cb355983 (patch)
tree095a4a2d447e9c59324081fd243a8d618a8b5cb4 /net-mgmt/net-snmp
parent2c6f1f7beb0cfe974eec9ebd6ad1f06ab31b0415 (diff)
downloadfreebsd-ports-gnome-f7ad5110a7521b08fbfafc1ebbcaf587cb355983.tar.gz
freebsd-ports-gnome-f7ad5110a7521b08fbfafc1ebbcaf587cb355983.tar.zst
freebsd-ports-gnome-f7ad5110a7521b08fbfafc1ebbcaf587cb355983.zip
- Fix dependency on py-setuptools
Reported by: Kalidarn@freenode
Diffstat (limited to 'net-mgmt/net-snmp')
-rw-r--r--net-mgmt/net-snmp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 1a9727162a7c..a6623f46925c 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -69,8 +69,8 @@ PYEASYUNINSTALL_UNINSTALLARGS?= -q -N -m -S ${PYTHON_SITELIBDIR} \
-s ${PYEASYINSTALL_BINDIR} \
${PYDISTUTILS_PKGNAME}
USE_PYTHON= yes
-RUN_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
-BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools${PYTHON_SUFFIX}>0:${PORTSDIR}/devel/py-setuptools${PYTHON_SUFFIX}
+BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools${PYTHON_SUFFIX}>0:${PORTSDIR}/devel/py-setuptools${PYTHON_SUFFIX}
CONFIGURE_ARGS+=--with-python-modules
CONFIGURE_ENV+= PYTHONPROG="${LOCALBASE}/bin/${PYTHON_DEFAULT_VERSION}"
PLIST_SUB+= WITH_PYTHON="" PYTHON_VER=${PYTHON_VER}