summaryrefslogtreecommitdiffstats
path: root/devel/gnu-libtool
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-01-26 01:39:02 +0000
committersteve <steve@FreeBSD.org>1999-01-26 01:39:02 +0000
commit1e66c7fd414ca95dea732f23a254b3466dc83c96 (patch)
treef5d121e21aac894211940fbfc0f0798b09efa60b /devel/gnu-libtool
parent1d7bf676cd14f57ddad587cfa3410349aadd5b57 (diff)
downloadFreeBSD-ports-1e66c7fd414ca95dea732f23a254b3466dc83c96.zip
FreeBSD-ports-1e66c7fd414ca95dea732f23a254b3466dc83c96.tar.gz
Allow this port to work on freebsd4* too.
Diffstat (limited to 'devel/gnu-libtool')
-rw-r--r--devel/gnu-libtool/files/patch-ac15
1 files changed, 12 insertions, 3 deletions
diff --git a/devel/gnu-libtool/files/patch-ac b/devel/gnu-libtool/files/patch-ac
index ff38739..10c4577 100644
--- a/devel/gnu-libtool/files/patch-ac
+++ b/devel/gnu-libtool/files/patch-ac
@@ -1,12 +1,21 @@
---- ltconfig.orig Fri Mar 20 17:00:29 1998
-+++ ltconfig Sat Dec 12 09:11:40 1998
+--- ltconfig.orig Fri Mar 20 02:00:29 1998
++++ ltconfig Sun Jan 24 21:59:48 1999
+@@ -777,7 +777,7 @@
+ ;;
+
+ # FreeBSD 3, at last, uses gcc -shared to do shared libraries.
+- freebsd3*)
++ freebsd[34]*)
+ archive_cmds='$CC -shared -o $lib$libobjs'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
@@ -1123,10 +1123,11 @@
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
;;
-freebsd2* | freebsd3*)
- version_type=sunos
-+freebsd2*|freebsd3*)
++freebsd[234]*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
library_names_spec='${libname}${release}.so.$versuffix $libname.so'
OpenPOWER on IntegriCloud