Ticket #19103: patch-mod_python25-linking.diff
File patch-mod_python25-linking.diff, 1.5 KB (added by raimue (Rainer Müller), 16 years ago) |
---|
-
files/patch-configure.diff
1 --- configure-old 2009-04-01 04:38:10.000000000 +0200 2 +++ configure 2009-04-01 04:50:59.000000000 +0200 3 @@ -2906,12 +2906,6 @@ 4 5 save_LDFLAGS="$LDFLAGS" 6 save_LIBS="$LIBS" 7 -if test "$PyFRAMEWORKDIR" != "no-framework"; then 8 - if test -n "$PyFRAMEWORK"; then 9 - PyPYTHONLIBS="-framework $PyFRAMEWORK" 10 - LDFLAGS="${LDFLAGS} -Wl,-framework,Python" 11 - fi 12 -else 13 LDFLAGS="${LDFLAGS} -L${PyLIBPL}" 14 as_ac_Lib=`echo "ac_cv_lib_python${PyVERSION}''_Py_NewInterpreter" | $as_tr_sh` 15 echo "$as_me:$LINENO: checking for Py_NewInterpreter in -lpython${PyVERSION}" >&5 16 @@ -2990,8 +2984,6 @@ 17 fi 18 19 fi 20 - 21 -fi 22 LIBS="$save_LIBS" 23 24 # (actually this check already just happened above) -
Portfile
26 26 depends_build port:flex 27 27 depends_lib port:apache2 port:python25 28 28 29 patchfiles patch-dist-Makefile.in.diff patch-src-connobject.c.diff 29 patchfiles patch-dist-Makefile.in.diff \ 30 patch-src-connobject.c.diff \ 31 patch-configure.diff 30 32 31 configure.cppflags "-I${prefix}/include/python2.5"32 configure.ldflags-append "-Wl,-F${frameworks_dir}"33 33 configure.args --with-apxs=${prefix}/apache2/bin/apxs \ 34 34 --with-python=${prefix}/bin/python2.5 \ 35 35 --with-flex=${prefix}/bin/flex \