diff options
author | jaapb <jaapb@pkgsrc.org> | 2012-10-26 08:18:15 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2012-10-26 08:18:15 +0000 |
commit | e6aa2354be21f8bd3973b6d40387ec94a92387c7 (patch) | |
tree | 9380eb9bf60bcc21b061548c94665f38e4c14fe0 /lang/ocaml/patches/patch-configure | |
parent | dc399aa1844ea6291eaf097c951ccf8b190b6af6 (diff) | |
download | pkgsrc-e6aa2354be21f8bd3973b6d40387ec94a92387c7.tar.gz |
Updated patch-configure to correct a build failure on DragonFly BSD
(discussed with marino@)
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;; |