aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libtool/files
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>1998-09-24 00:15:58 +0800
committervanilla <vanilla@FreeBSD.org>1998-09-24 00:15:58 +0800
commit017fe5f8809fe7a0cfeae81395a86ee98b81d93c (patch)
tree7c4ced4bb9a35238b811ef0ec923efb85dde622c /devel/libtool/files
parent25a34c4977920e571e9e8ae7548d4b402a84f42f (diff)
downloadfreebsd-ports-gnome-017fe5f8809fe7a0cfeae81395a86ee98b81d93c.tar.gz
freebsd-ports-gnome-017fe5f8809fe7a0cfeae81395a86ee98b81d93c.tar.zst
freebsd-ports-gnome-017fe5f8809fe7a0cfeae81395a86ee98b81d93c.zip
Fix info page problem, and add elf patch.
Diffstat (limited to 'devel/libtool/files')
-rw-r--r--devel/libtool/files/patch-ac44
1 files changed, 44 insertions, 0 deletions
diff --git a/devel/libtool/files/patch-ac b/devel/libtool/files/patch-ac
new file mode 100644
index 000000000000..5fa9f97ec8f9
--- /dev/null
+++ b/devel/libtool/files/patch-ac
@@ -0,0 +1,44 @@
+--- ltmain.sh.orig Wed Sep 23 23:37:14 1998
++++ ltmain.sh Wed Sep 23 23:38:02 1998
+@@ -967,6 +967,16 @@
+ versuffix="$current.$revision"
+ ;;
+
++ freebsd)
++ version_vars="$version_vars major versuffix"
++ major="$current"
++ if [ $PORTOBJFORMAT = elf ]; then
++ versuffix="$current";
++ else
++ versuffix="$current.$revision";
++ fi
++ ;;
++
+ *)
+ $echo "$modename: unknown library version type \`$version_type'" 1>&2
+ echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
+--- ltconfig.orig Wed Sep 23 23:37:18 1998
++++ ltconfig Wed Sep 23 23:39:06 1998
+@@ -1123,10 +1123,21 @@
+ 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*)
++freebsd2*)
+ version_type=sunos
+ library_names_spec='${libname}${release}.so.$versuffix $libname.so'
+ finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
++ shlibpath_var=LD_LIBRARY_PATH
++ ;;
++
++freebsd3*)
++ version_type=freebsd
++ library_names_spec='${libname}${release}.so.$versuffix $libname.so'
++ if [ $PORTOBJFORMAT = elf ]; then
++ finish_cmds='PATH="$PATH:/sbin" OBJFORMAT="$PORTOBJFORMAT" ldconfig -m $libdir'
++ else
++ finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
++ fi
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+