diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-06-08 22:30:55 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-06-08 22:30:55 +0000 |
commit | 81100672d4de2795c4284cf568383d48955cbdcb (patch) | |
tree | 47e3d403298c2fd50b0ec056f62df5c31925decb /net-mgmt/py-yapsnmp | |
parent | 6d138c2d46f8ea88c939a76298099dbcf07491af (diff) | |
download | ports-81100672d4de2795c4284cf568383d48955cbdcb.tar.gz ports-81100672d4de2795c4284cf568383d48955cbdcb.zip |
Notes
Diffstat (limited to 'net-mgmt/py-yapsnmp')
-rw-r--r-- | net-mgmt/py-yapsnmp/Makefile | 5 | ||||
-rw-r--r-- | net-mgmt/py-yapsnmp/files/patch-configure | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/net-mgmt/py-yapsnmp/Makefile b/net-mgmt/py-yapsnmp/Makefile index b7ae4ec4cfd2..06a650b00667 100644 --- a/net-mgmt/py-yapsnmp/Makefile +++ b/net-mgmt/py-yapsnmp/Makefile @@ -6,7 +6,7 @@ PORTNAME= yapsnmp PORTVERSION= 0.7.8 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net-mgmt python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= yapsnmp @@ -21,8 +21,9 @@ USE_AUTOTOOLS= libtool:15 USE_GMAKE= yes USE_PYTHON= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${PYTHON_INCLUDEDIR}" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" +CONFIGURE_ARGS+=--enable-site-packages-prefix=${PREFIX} post-patch: ${REINPLACE_CMD} -e "s,-lsnmp,-lnetsnmp," \ diff --git a/net-mgmt/py-yapsnmp/files/patch-configure b/net-mgmt/py-yapsnmp/files/patch-configure index 1837464b7cc2..01a14e5ecb66 100644 --- a/net-mgmt/py-yapsnmp/files/patch-configure +++ b/net-mgmt/py-yapsnmp/files/patch-configure @@ -5,7 +5,7 @@ -for PYTHONINCPATH in python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 -+for PYTHONINCPATH in python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 ++for PYTHONINCPATH in python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 do as_ac_Header=`echo "ac_cv_header_$PYTHONINCPATH/Python.h" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then |