summaryrefslogtreecommitdiff
path: root/devel/libtool15
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>1998-12-14 17:25:03 +0000
committerSADA Kenji <sada@FreeBSD.org>1998-12-14 17:25:03 +0000
commitc15f4fe4fd50ac7af6377146c4b5ddb8daac6ec9 (patch)
treebdf99b819d245f1f0c7694d4f9cc335552f7188c /devel/libtool15
parentAdd some master sites. (diff)
Fix PORTOBJFORMAT problem.
PR: ports/9070 Submitted by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
Notes
Notes: svn path=/head/; revision=15349
Diffstat (limited to 'devel/libtool15')
-rw-r--r--devel/libtool15/files/patch-ac45
-rw-r--r--devel/libtool15/files/patch-ad21
2 files changed, 30 insertions, 36 deletions
diff --git a/devel/libtool15/files/patch-ac b/devel/libtool15/files/patch-ac
index 5fa9f97ec8f9..ff38739b6e29 100644
--- a/devel/libtool15/files/patch-ac
+++ b/devel/libtool15/files/patch-ac
@@ -1,44 +1,17 @@
---- 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 @@
+--- ltconfig.orig Fri Mar 20 17:00:29 1998
++++ ltconfig Sat Dec 12 09:11:40 1998
+@@ -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*)
-+freebsd2*)
- version_type=sunos
+- version_type=sunos
++freebsd2*|freebsd3*)
++ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++ version_type=freebsd-$objformat
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
+- finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
++ finish_cmds='PATH="$PATH:/sbin" OBJFORMAT="$objformat" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH
;;
diff --git a/devel/libtool15/files/patch-ad b/devel/libtool15/files/patch-ad
new file mode 100644
index 000000000000..34b60ec9a08a
--- /dev/null
+++ b/devel/libtool15/files/patch-ad
@@ -0,0 +1,21 @@
+--- ltmain.sh.orig Fri Mar 20 17:00:29 1998
++++ ltmain.sh Sat Dec 12 09:13:28 1998
+@@ -967,6 +967,18 @@
+ versuffix="$current.$revision"
+ ;;
+
++ freebsd-aout)
++ version_vars="$version_vars major versuffix"
++ major="$current"
++ versuffix="$current.$revision";
++ ;;
++
++ freebsd-elf)
++ version_vars="$version_vars major versuffix"
++ major="$current"
++ versuffix="$current";
++ ;;
++
+ *)
+ $echo "$modename: unknown library version type \`$version_type'" 1>&2
+ echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2