freebsd-ports/www/mod_python33/files/patch-configure
Marcus von Appen ff1a29fe19 - Unbreak the build after the recent lang/python27 update.
PR:		192348
Submitted by:	peter@
2014-08-03 08:07:20 +00:00

12 lines
615 B
Text

--- ./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