Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net-mgmt/py-yapsnmp/Makefile,v retrieving revision 1.9 diff -u -r1.9 Makefile --- Makefile 28 Dec 2008 10:54:06 -0000 1.9 +++ Makefile 28 May 2009 11:42:01 -0000 @@ -21,8 +21,9 @@ 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," \ Index: files/patch-configure =================================================================== RCS file: /home/pcvs/ports/net-mgmt/py-yapsnmp/files/patch-configure,v retrieving revision 1.2 diff -u -r1.2 patch-configure --- files/patch-configure 30 Jul 2007 09:41:50 -0000 1.2 +++ files/patch-configure 28 May 2009 11:28:49 -0000 @@ -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