summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/fbsd-ltconf/1.2.0')
-rw-r--r--patches/fbsd-ltconf/1.2.026
1 files changed, 26 insertions, 0 deletions
diff --git a/patches/fbsd-ltconf/1.2.0 b/patches/fbsd-ltconf/1.2.0
new file mode 100644
index 0000000..7d2f554
--- /dev/null
+++ b/patches/fbsd-ltconf/1.2.0
@@ -0,0 +1,26 @@
+Index: jpeg-6b/ltconfig
+===================================================================
+--- jpeg-6b.orig/ltconfig
++++ jpeg-6b/ltconfig
+@@ -1126,9 +1126,18 @@ amigaos*)
+ 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*)
+- version_type=sunos
+- library_names_spec='${libname}${release}.so.$versuffix $libname.so'
++freebsd[234567]*)
++ case $host_vendor in
++ gentoo)
++ version_type=linux
++ library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major ${libname}.so'
++ soname_spec='${libname}${release}.so.$major'
++ ;;
++ *)
++ version_type=sunos
++ library_names_spec='${libname}${release}.so.$versuffix $libname.so'
++ ;;
++ esac
+ finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir'
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;