summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-08 00:45:57 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-08 00:45:57 +0000
commit4a068fe8e46a6ecf774d38c1d22fce99c750cfe6 (patch)
treeaef1cbec528b6a46c3b4b4db21c0af86c6b6e876 /eclass/ELT-patches
parentVersion bump #128790 by Nathan Blomquist. (diff)
downloadhistorical-4a068fe8e46a6ecf774d38c1d22fce99c750cfe6.tar.gz
historical-4a068fe8e46a6ecf774d38c1d22fce99c750cfe6.tar.bz2
historical-4a068fe8e46a6ecf774d38c1d22fce99c750cfe6.zip
Add patch to ltconfig for the Gentoo/FreeBSD libraries naming scheme.
Diffstat (limited to 'eclass/ELT-patches')
-rw-r--r--eclass/ELT-patches/fbsd-ltconf/1.3.032
1 files changed, 32 insertions, 0 deletions
diff --git a/eclass/ELT-patches/fbsd-ltconf/1.3.0 b/eclass/ELT-patches/fbsd-ltconf/1.3.0
new file mode 100644
index 000000000000..69aa94e678f2
--- /dev/null
+++ b/eclass/ELT-patches/fbsd-ltconf/1.3.0
@@ -0,0 +1,32 @@
+Index: libtool-1.3.5/ltconfig
+===================================================================
+--- libtool-1.3.5.orig/ltconfig
++++ libtool-1.3.5/ltconfig
+@@ -1888,7 +1888,13 @@ freebsd1*)
+
+ freebsd*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+- version_type=freebsd-$objformat
++ case $host_vendor in
++ gentoo)
++ version_type=linux ;;
++ *)
++ version_type=freebsd-$objformat ;;
++ esac
++
+ case "$version_type" in
+ freebsd-elf*)
+ deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
+@@ -1903,6 +1909,12 @@ freebsd*)
+ library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
+ need_version=yes
+ ;;
++ linux)
++ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}.so'
++ soname_spec='${libname}${release}.so$major'
++ need_lib_prefix=no
++ need_version=no
++ ;;
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case "$host_os" in