diff options
Diffstat (limited to 'eclass/ELT-patches/fbsd-ltconf')
-rw-r--r-- | eclass/ELT-patches/fbsd-ltconf/1.2.0 | 26 | ||||
-rw-r--r-- | eclass/ELT-patches/fbsd-ltconf/1.3.0 | 32 | ||||
-rw-r--r-- | eclass/ELT-patches/fbsd-ltconf/1.4a | 32 | ||||
-rw-r--r-- | eclass/ELT-patches/fbsd-ltconf/1.4a-GCC3.0 | 32 |
4 files changed, 122 insertions, 0 deletions
diff --git a/eclass/ELT-patches/fbsd-ltconf/1.2.0 b/eclass/ELT-patches/fbsd-ltconf/1.2.0 new file mode 100644 index 0000000..7d2f554 --- /dev/null +++ b/eclass/ELT-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 + ;; 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 0000000..69aa94e --- /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 diff --git a/eclass/ELT-patches/fbsd-ltconf/1.4a b/eclass/ELT-patches/fbsd-ltconf/1.4a new file mode 100644 index 0000000..0008407 --- /dev/null +++ b/eclass/ELT-patches/fbsd-ltconf/1.4a @@ -0,0 +1,32 @@ +Index: binutils-2.16.1/ltconfig +=================================================================== +--- binutils-2.16.1.orig/ltconfig ++++ binutils-2.16.1/ltconfig +@@ -1129,7 +1129,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*) + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' +@@ -1141,6 +1147,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 diff --git a/eclass/ELT-patches/fbsd-ltconf/1.4a-GCC3.0 b/eclass/ELT-patches/fbsd-ltconf/1.4a-GCC3.0 new file mode 100644 index 0000000..e88bb45 --- /dev/null +++ b/eclass/ELT-patches/fbsd-ltconf/1.4a-GCC3.0 @@ -0,0 +1,32 @@ +Index: binutils-2.16.1/ltconfig +=================================================================== +--- binutils-2.16.1.orig/ltconfig ++++ binutils-2.16.1/ltconfig +@@ -1129,7 +1129,13 @@ freebsd1*) + + freebsd*) + objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` +- version_type=freebsd-$objformat ++ case $host_vendor in ++ gentoo) ++ version_type=linux ;; ++ *) ++ version_type=freebsd-$objformat ;; ++ esac ++ + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' +@@ -1141,6 +1147,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 |