diff options
Diffstat (limited to 'lang/ocaml/patches/patch-configure')
-rw-r--r-- | lang/ocaml/patches/patch-configure | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/ocaml/patches/patch-configure b/lang/ocaml/patches/patch-configure index 53ba8a41cb2..c0cd57a7b1c 100644 --- a/lang/ocaml/patches/patch-configure +++ b/lang/ocaml/patches/patch-configure @@ -1,8 +1,17 @@ -$NetBSD: patch-configure,v 1.1 2012/10/08 15:05:33 jaapb Exp $ +$NetBSD: patch-configure,v 1.2 2012/10/26 08:18:15 jaapb Exp $ Several configure changes to work on and detect NetBSD (and some other OSes) --- configure.orig 2012-06-26 15:33:50.000000000 +0000 +++ configure +@@ -537,7 +537,7 @@ if test $withsharedlibs = "yes"; then + mksharedlib="$flexlink" + mkmaindll="$flexlink -maindll" + shared_libraries_supported=true;; +- *-*-linux-gnu|*-*-linux|*-*-freebsd[3-9]*|*-*-openbsd*|*-*-netbsd*|*-*-gnu*) ++ *-*-linux-gnu|*-*-linux|*-*-freebsd[3-9]*|*-*-openbsd*|*-*-netbsd*|*-*-gnu*|*-*-dragonfly) + sharedcccompopts="-fPIC" + mksharedlib="$bytecc -shared" + bytecclinkopts="$bytecclinkopts -Wl,-E" @@ -633,7 +633,7 @@ if test $withsharedlibs = "yes"; then x86_64-*-linux*) natdynlink=true;; i[3456]86-*-darwin[89].*) natdynlink=true;; |