1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/audio/esound/files/patch-ab

45 lines
1.5 KiB
Plaintext
Raw Normal View History

1999-01-01 09:24:00 +00:00
--- ltmain.sh.orig Thu Dec 31 19:15:49 1998
+++ ltmain.sh Thu Dec 31 19:17:02 1998
@@ -923,6 +923,16 @@
1998-09-22 15:47:44 +00:00
versuffix="$current.$revision"
;;
1999-01-01 09:24:00 +00:00
+ freebsd)
1998-12-23 19:22:08 +00:00
+ version_vars="$version_vars major versuffix"
+ major="$current"
1999-01-01 09:24:00 +00:00
+ if [ $PORTOBJFORMAT = elf ]; then
1998-12-23 19:22:08 +00:00
+ versuffix="$current"
1999-01-01 09:24:00 +00:00
+ else
+ versuffix="$current.$revision"
+ fi
1998-09-22 15:47:44 +00:00
+ ;;
+
*)
$echo "$modename: unknown library version type \`$version_type'" 1>&2
echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
1999-01-01 09:24:00 +00:00
--- ltconfig.orig Thu Dec 31 19:15:52 1998
+++ ltconfig Thu Dec 31 19:17:52 1998
@@ -1105,10 +1105,21 @@
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "$lib" | sed '\''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'
1998-09-22 15:47:44 +00:00
;;
1999-01-01 09:24:00 +00:00
-freebsd2* | freebsd3*)
+freebsd2*)
version_type=sunos
1998-12-23 19:22:08 +00:00
library_names_spec='$libname.so.$versuffix $libname.so'
1999-01-01 09:24:00 +00:00
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd3* | freebsd4*)
1999-01-01 09:24:00 +00:00
+ version_type=freebsd
+ library_names_spec='$libname.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
1998-09-22 15:47:44 +00:00
shlibpath_var=LD_LIBRARY_PATH
;;