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

37 lines
1.1 KiB
Plaintext
Raw Normal View History

1998-12-23 19:22:08 +00:00
--- ltmain.sh.orig Tue Dec 15 01:22:13 1998
+++ ltmain.sh Wed Dec 23 03:12:43 1998
@@ -923,6 +923,18 @@
1998-09-22 15:47:44 +00:00
versuffix="$current.$revision"
;;
1998-12-23 19:22:08 +00:00
+ freebsd-aout)
1998-09-22 15:47:44 +00:00
+ version_vars="$version_vars major versuffix"
+ major="$current"
1998-12-23 19:22:08 +00:00
+ versuffix="$current.$revision"
+ ;;
+
+ freebsd-elf)
+ version_vars="$version_vars major versuffix"
+ major="$current"
+ versuffix="$current"
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
1998-12-23 19:22:08 +00:00
--- ltconfig.orig Tue Dec 15 01:22:13 1998
+++ ltconfig Wed Dec 23 03:14:11 1998
@@ -1106,9 +1106,10 @@
1998-09-22 15:47:44 +00:00
;;
1998-12-23 19:22:08 +00:00
freebsd2* | freebsd3*)
- version_type=sunos
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
library_names_spec='$libname.so.$versuffix $libname.so'
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ finish_cmds='PATH="\$PATH:/sbin" OBJFORMAT="$objformat" ldconfig -m $libdir'
1998-09-22 15:47:44 +00:00
shlibpath_var=LD_LIBRARY_PATH
;;