diff --git a/www/mod_python33/Makefile b/www/mod_python33/Makefile index 3bdb2654e50c..6c0119046b98 100644 --- a/www/mod_python33/Makefile +++ b/www/mod_python33/Makefile @@ -3,7 +3,7 @@ PORTNAME= mod_python PORTVERSION= 3.3.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} MASTER_SITE_SUBDIR= modpython diff --git a/www/mod_python33/files/patch-configure b/www/mod_python33/files/patch-configure index e979f312021d..731799fa07d2 100644 --- a/www/mod_python33/files/patch-configure +++ b/www/mod_python33/files/patch-configure @@ -1,11 +1,12 @@ ---- configure.orig Sat Aug 5 09:51:23 2006 -+++ configure Sat Aug 5 09:57:47 2006 -@@ -2899,7 +2899,7 @@ - PyLIBP=${PY_STD_LIB} - PyLIBPL=${PyLIBP}/config - PyPYTHONLIBS=${PyLIBPL}/libpython${PyVERSION}.a --PyLIBS=`grep "^LIB[SMC]=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' ' '` -+PyLIBS=`ldd $PYTHON_BIN | sed -n 's,^.* => [^ ]*/lib\(.*\)\.so[^ ]* \((.*)\),-l\1,p' | grep -v '^-lc$' | xargs echo` - PyMODLIBS=`grep "^LOCALMODLIBS=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' ' '` - PyFRAMEWORK=`grep "^PYTHONFRAMEWORK=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' ' '` - PyFRAMEWORKDIR=`grep "^PYTHONFRAMEWORKDIR=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' ' ' | awk '{print $1}'` +--- ./configure.orig 2006-03-11 03:46:52.000000000 +0000 ++++ ./configure 2014-08-02 22:49:33.000000000 +0000 +@@ -3013,7 +3013,7 @@ + echo $ECHO_N "checking linker flags used to link Python... $ECHO_C" >&6 + + PyLFS=`grep "^LINKFORSHARED=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' ' '` +-PyLDFLAGS=`grep "^LDFLAGS=" ${PyLIBPL}/Makefile | cut -f2 -d= | tr '\011\012\015' ' '` ++PyLDFLAGS=`grep "^LDFLAGS=" ${PyLIBPL}/Makefile | sed 's,^LDFLAGS=,,' | tr '\011\012\015' ' '` + LDFLAGS="${LDFLAGS} ${PyLFS} ${PyLDFLAGS}" + LDFLAGS="${LDFLAGS} ${PY_LDFLAGS}" + echo "$as_me:$LINENO: result: $PY_LDFLAGS" >&5 +