packages: ocaml-net/ocaml-net-apache-link.patch (NEW) - link apache module ...

baggins baggins at pld-linux.org
Mon Jul 18 13:10:31 CEST 2011


Author: baggins                      Date: Mon Jul 18 11:10:31 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- link apache module the way it has a chance of working

---- Files affected:
packages/ocaml-net:
   ocaml-net-apache-link.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ocaml-net/ocaml-net-apache-link.patch
diff -u /dev/null packages/ocaml-net/ocaml-net-apache-link.patch:1.1
--- /dev/null	Mon Jul 18 13:10:31 2011
+++ packages/ocaml-net/ocaml-net-apache-link.patch	Mon Jul 18 13:10:26 2011
@@ -0,0 +1,11 @@
+--- ocamlnet-3.3.4/configure~	2011-07-18 12:35:45.376035709 +0200
++++ ocamlnet-3.3.4/configure	2011-07-18 12:41:51.558035626 +0200
+@@ -932,7 +932,7 @@
+ # For -enable-apache
+ APACHE_MAJOR = $apache_major
+ APACHE_LIBDIR = $apache_libdir
+-APACHE_OCAMLLIBS = -l$apache_camlrun -ltermcap -lunix -l$libstr
++APACHE_OCAMLLIBS = -l$apache_camlrun -Wl,-R$apache_ocamllibdir -lunix -l$libstr
+ APACHE_INCDIR = $apache_incdir
+ APACHE_CONFDIR = $apache_confdir
+ APACHE_LDFLAGS_SHLIB = $apache_ldflags_shlib
================================================================


More information about the pld-cvs-commit mailing list