Ticket #19103: patch-mod_python25-linking.diff

File patch-mod_python25-linking.diff, 1.5 KB (added by raimue (Rainer Müller), 15 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

     
    2626depends_build   port:flex
    2727depends_lib             port:apache2 port:python25
    2828
    29 patchfiles      patch-dist-Makefile.in.diff patch-src-connobject.c.diff
     29patchfiles      patch-dist-Makefile.in.diff \
     30                patch-src-connobject.c.diff \
     31                patch-configure.diff
    3032
    31 configure.cppflags      "-I${prefix}/include/python2.5"
    32 configure.ldflags-append        "-Wl,-F${frameworks_dir}"
    3333configure.args  --with-apxs=${prefix}/apache2/bin/apxs \
    3434    --with-python=${prefix}/bin/python2.5 \
    3535    --with-flex=${prefix}/bin/flex \