X-Git-Url: http://git.pld-linux.org/?p=packages%2Focaml.git;a=blobdiff_plain;f=ocaml-db3.patch;h=30dc6dfdc797879435f5552cf24bc012897b722e;hp=e6fd10e7ee698e84db058540cbaeab1827b3f79f;hb=9a7d9f1ac5a9ac1ba6edaf62f2aa775280f45695;hpb=0be8cd9b541cf57ffc09d08a57cde4b1dd455bd7 diff --git a/ocaml-db3.patch b/ocaml-db3.patch index e6fd10e..30dc6df 100644 --- a/ocaml-db3.patch +++ b/ocaml-db3.patch @@ -1,13 +1,14 @@ ---- ocaml-3.09.2/configure.orig 2006-04-19 22:15:48.276544500 +0200 -+++ ocaml-3.09.2/configure 2006-04-22 23:49:10.045620750 +0200 -@@ -1238,51 +1238,12 @@ +diff -urN ocaml-3.10.0.org/configure ocaml-3.10.0/configure +--- ocaml-3.10.0.org/configure 2007-05-03 14:49:56.000000000 +0200 ++++ ocaml-3.10.0/configure 2007-07-15 20:20:19.325848428 +0200 +@@ -1252,51 +1252,13 @@ # See if we can compile the dbm library -dbm_include="not found" -dbm_link="not found" use_gdbm_ndbm=no -- + -for dir in /usr/include /usr/include/db1 /usr/include/gdbm; do - if test -f $dir/ndbm.h; then - dbm_include=$dir @@ -42,8 +43,6 @@ - else - dbm_include="-I$dbm_include" - fi -- echo "DBM_INCLUDES=$dbm_include" >> Makefile -- echo "DBM_LINK=$dbm_link" >> Makefile - if test "$use_gdbm_ndbm" = "yes"; then - echo "#define DBM_USES_GDBM_NDBM" >> s.h - fi @@ -51,8 +50,8 @@ -fi +dbm_include="" +dbm_link="-ldb" -+echo "DBM_INCLUDES=$dbm_include" >> Makefile -+echo "DBM_LINK=$dbm_link" >> Makefile + echo "DBM_INCLUDES=$dbm_include" >> Makefile + echo "DBM_LINK=$dbm_link" >> Makefile +otherlibraries="$otherlibraries dbm" # Look for tcl/tk