lang/ocaml: configure script not freebsd10 friendly

Andriy Gapon avg at FreeBSD.org
Mon Nov 28 18:07:30 UTC 2011


The following extra diff demonstrates the problem:
--- configure.orig2	2011-11-28 20:00:49.452553350 +0200
+++ configure	2011-11-28 20:00:52.493371250 +0200
@@ -523,7 +523,7 @@
       mksharedlib="$flexlink"
       mkmaindll="$flexlink -maindll"
       shared_libraries_supported=true;;
-    *-*-linux-gnu|*-*-linux|*-*-freebsd[3-9]*|*-*-openbsd*|*-*-netbsd*|*-*-gnu*)
+    *-*-linux-gnu|*-*-linux|*-*-freebsd*|*-*-openbsd*|*-*-netbsd*|*-*-gnu*)
       sharedcccompopts="-fPIC"
       mksharedlib="$bytecc -shared"
       bytecclinkopts="$bytecclinkopts -Wl,-E"

I think that it's better to have FreeBSD 10 support then to worry about FreeBSD
2.x (or even 1.x) :-)

-- 
Andriy Gapon


More information about the freebsd-ports mailing list