I've forgotton another patch point of a file.

Also, divided freebsd patch for each files to be patched.
PR:	ports/9797
Submitted by:	Jeremy Lea <reg@shale.csir.co.za>
This commit is contained in:
SADA Kenji 1999-02-01 13:32:18 +00:00
parent 114aacf38f
commit 042ef8ec83
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=16463
2 changed files with 34 additions and 25 deletions

View file

@ -17,28 +17,3 @@
*)
$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 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'
;;
-freebsd2* | freebsd3*)
+freebsd2*)
version_type=sunos
library_names_spec='$libname.so.$versuffix $libname.so'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd3* | freebsd4*)
+ 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
shlibpath_var=LD_LIBRARY_PATH
;;

View file

@ -0,0 +1,34 @@
--- ltconfig.orig Tue Dec 15 02:22:13 1998
+++ ltconfig Mon Feb 1 22:17:53 1999
@@ -767,7 +767,7 @@
;;
# FreeBSD 3, at last, uses gcc -shared to do shared libraries.
- freebsd3*)
+ freebsd3* | freebsd4*)
archive_cmds='$CC -shared -o $lib$libobjs'
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
@@ -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'
;;
-freebsd2* | freebsd3*)
+freebsd2*)
version_type=sunos
library_names_spec='$libname.so.$versuffix $libname.so'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+freebsd3* | freebsd4*)
+ 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
shlibpath_var=LD_LIBRARY_PATH
;;