diff options
author | sada <sada@FreeBSD.org> | 1998-12-15 01:25:03 +0800 |
---|---|---|
committer | sada <sada@FreeBSD.org> | 1998-12-15 01:25:03 +0800 |
commit | 0cc4e427ff36505a112870034b4041781783ecde (patch) | |
tree | 8a2fbb34ce91f85576cfce1642b565ac6044632c /devel/gnu-libtool | |
parent | 02d916404d6b4d25ae53d97d66f8f892ea744fba (diff) | |
download | freebsd-ports-gnome-0cc4e427ff36505a112870034b4041781783ecde.tar.gz freebsd-ports-gnome-0cc4e427ff36505a112870034b4041781783ecde.tar.zst freebsd-ports-gnome-0cc4e427ff36505a112870034b4041781783ecde.zip |
Fix PORTOBJFORMAT problem.
PR: ports/9070
Submitted by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
Diffstat (limited to 'devel/gnu-libtool')
-rw-r--r-- | devel/gnu-libtool/files/patch-ac | 45 | ||||
-rw-r--r-- | devel/gnu-libtool/files/patch-ad | 21 |
2 files changed, 30 insertions, 36 deletions
diff --git a/devel/gnu-libtool/files/patch-ac b/devel/gnu-libtool/files/patch-ac index 5fa9f97ec8f9..ff38739b6e29 100644 --- a/devel/gnu-libtool/files/patch-ac +++ b/devel/gnu-libtool/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/gnu-libtool/files/patch-ad b/devel/gnu-libtool/files/patch-ad new file mode 100644 index 000000000000..34b60ec9a08a --- /dev/null +++ b/devel/gnu-libtool/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 |