summaryrefslogtreecommitdiffstats
path: root/misc/gnomeutils2/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'misc/gnomeutils2/files/patch-ad')
-rw-r--r--misc/gnomeutils2/files/patch-ad44
1 files changed, 44 insertions, 0 deletions
diff --git a/misc/gnomeutils2/files/patch-ad b/misc/gnomeutils2/files/patch-ad
new file mode 100644
index 0000000..fa52d67
--- /dev/null
+++ b/misc/gnomeutils2/files/patch-ad
@@ -0,0 +1,44 @@
+--- ltmain.sh.orig Fri Oct 2 21:17:15 1998
++++ ltmain.sh Fri Oct 2 21:17:53 1998
+@@ -923,6 +923,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 Fri Oct 2 21:17:56 1998
++++ ltconfig Fri Oct 2 21:18:47 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*)
++ 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
+ ;;
+
OpenPOWER on IntegriCloud