aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2014-01-25 10:24:39 +0800
committerzi <zi@FreeBSD.org>2014-01-25 10:24:39 +0800
commite833eb069e6da5a2cb96dc4006cc28f47784a3da (patch)
treef1176401cc48582992e398b9af31451fa60bac7a /net-mgmt
parente7a18b4c0ab0c05395baaef53987d1990c3b831d (diff)
downloadfreebsd-ports-gnome-e833eb069e6da5a2cb96dc4006cc28f47784a3da.tar.gz
freebsd-ports-gnome-e833eb069e6da5a2cb96dc4006cc28f47784a3da.tar.zst
freebsd-ports-gnome-e833eb069e6da5a2cb96dc4006cc28f47784a3da.zip
- Fix python build
PR: ports/186074 Submitted by: Jimmy Olgeni <olgeni@FreeBSD.org>
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}"