aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2014-01-25 02:24:39 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2014-01-25 02:24:39 +0000
commita4674e6a09e17719bef95bf56c9605659ed3ec86 (patch)
treef1176401cc48582992e398b9af31451fa60bac7a /net-mgmt
parentd978a3b014f031a12ad7a0cb77ef93f01f42854b (diff)
downloadports-a4674e6a09e17719bef95bf56c9605659ed3ec86.tar.gz
ports-a4674e6a09e17719bef95bf56c9605659ed3ec86.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/net-snmp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index edef2e4c1520..5aa39286fe69 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -72,6 +72,7 @@ USE_PYTHON= yes
RUN_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
CONFIGURE_ARGS+=--with-python-modules
+CONFIGURE_ENV+= PYTHONPROG="${LOCALBASE}/bin/${PYTHON_DEFAULT_VERSION}"
PLIST_SUB+= WITH_PYTHON="" PYTHON_VER=${PYTHON_VER}
PLIST_SUB+= PYDISTUTILS_PKGVERSION=${PYDISTUTILS_PKGVERSION}
PLIST_SUB+= PYINSTALL="@exec ${SETENV} PYTHONPATH=${PYEASYINSTALL_SITELIBDIR} ${PYEASYINSTALL_CMD} ${PYEASYINSTALL_INSTALLARGS}"