aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libtool15
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-01-26 09:39:02 +0800
committersteve <steve@FreeBSD.org>1999-01-26 09:39:02 +0800
commit1e66c7fd414ca95dea732f23a254b3466dc83c96 (patch)
treef5d121e21aac894211940fbfc0f0798b09efa60b /devel/libtool15
parent1d7bf676cd14f57ddad587cfa3410349aadd5b57 (diff)
downloadfreebsd-ports-gnome-1e66c7fd414ca95dea732f23a254b3466dc83c96.tar.gz
freebsd-ports-gnome-1e66c7fd414ca95dea732f23a254b3466dc83c96.tar.zst
freebsd-ports-gnome-1e66c7fd414ca95dea732f23a254b3466dc83c96.zip
Allow this port to work on freebsd4* too.
Diffstat (limited to 'devel/libtool15')
-rw-r--r--devel/libtool15/files/patch-ac15
1 files changed, 12 insertions, 3 deletions
diff --git a/devel/libtool15/files/patch-ac b/devel/libtool15/files/patch-ac
index ff38739b6e29..10c4577605a0 100644
--- a/devel/libtool15/files/patch-ac
+++ b/devel/libtool15/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'