Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 02:24:39 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340981 - head/net-mgmt/net-snmp
Message-ID:  <201401250224.s0P2OdrR060499@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Sat Jan 25 02:24:39 2014
New Revision: 340981
URL: http://svnweb.freebsd.org/changeset/ports/340981
QAT: https://qat.redports.org/buildarchive/r340981/

Log:
  - Fix python build
  
  PR:		ports/186074
  Submitted by:	Jimmy Olgeni <olgeni@FreeBSD.org>

Modified:
  head/net-mgmt/net-snmp/Makefile

Modified: head/net-mgmt/net-snmp/Makefile
==============================================================================
--- head/net-mgmt/net-snmp/Makefile	Sat Jan 25 02:08:02 2014	(r340980)
+++ head/net-mgmt/net-snmp/Makefile	Sat Jan 25 02:24:39 2014	(r340981)
@@ -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}"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401250224.s0P2OdrR060499>