diff options
Diffstat (limited to 'lang/cint/files/patch-configure')
-rw-r--r-- | lang/cint/files/patch-configure | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/lang/cint/files/patch-configure b/lang/cint/files/patch-configure new file mode 100644 index 000000000000..4cd0ad381f8c --- /dev/null +++ b/lang/cint/files/patch-configure @@ -0,0 +1,41 @@ +--- configure.orig Fri Nov 24 14:30:23 2006 ++++ configure Tue Aug 21 15:02:00 2007 +@@ -20,7 +20,7 @@ + + # configure settings to build CINT + +-ARCHS=(linux linuxicc macgcc djgpp cygwin mingw mwerks hpux aix msvc7 msvc8 solaris solarisgcc) ++ARCHS=(linux linuxicc macgcc djgpp cygwin mingw mwerks hpux aix msvc7 msvc8 solaris solarisgcc freebsd) + + ############################################################# + ### +@@ -102,6 +102,11 @@ + config_GCC_defaults + } + ++function config_freebsd { ++ config_GCC_defaults ++ DEFAULTLIBS="`echo $DEFAULTLIBS | sed 's/-ldl//'`" ++} ++ + function config_linuxx8664gcc { + config_GCC_defaults + +@@ -326,7 +331,7 @@ + # freebsd*:*:6*) arch=freebsd5 ;; + # freebsd*:*:5*) arch=freebsd5 ;; + # freebsd*:*:4*) arch=freebsd4 ;; +-# freebsd*:*:*) arch=freebsd ;; ++ freebsd*:*:*) arch=freebsd ;; + # hp-ux:ia64:*) arch=hpuxia64acc ;; + # hp-ux:*:*) arch=hpuxacc ;; + # hurd*:*:*) arch=hurddeb ;; +@@ -356,6 +361,8 @@ + # ;; + esac + if [ "x`uname -a|grep -i linux`" != "x" ]; then ++ GUESSEDARCH=$arch ++ elif [ "x`uname -a|grep -i freebsd`" != "x" ]; then + GUESSEDARCH=$arch + elif cl.exe >/dev/null 2>&1; then + if [ "x`cl 2>&1|grep 'Version 14'`" != "x" ]; then |