diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-10-16 03:32:12 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-10-16 03:32:12 +0000 |
commit | 6cd27db5c0123bda5e31dd771cb096c6744ac5b7 (patch) | |
tree | 19bcea3e1695cdf30966637e99fa2976629d6038 /sys-devel/libtool/files | |
parent | Version bump #109352 by Daniel Drake. (diff) | |
download | historical-6cd27db5c0123bda5e31dd771cb096c6744ac5b7.tar.gz historical-6cd27db5c0123bda5e31dd771cb096c6744ac5b7.tar.bz2 historical-6cd27db5c0123bda5e31dd771cb096c6744ac5b7.zip |
Add patch by Diego Pettenò to tweak versioning styles on Gentoo/FreeBSD hosts #109105.
Package-Manager: portage-2.0.53_rc5
Diffstat (limited to 'sys-devel/libtool/files')
-rw-r--r-- | sys-devel/libtool/files/1.5.20/libtool-1.5.20-use-linux-version-in-fbsd.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-devel/libtool/files/1.5.20/libtool-1.5.20-use-linux-version-in-fbsd.patch b/sys-devel/libtool/files/1.5.20/libtool-1.5.20-use-linux-version-in-fbsd.patch new file mode 100644 index 000000000000..cc9d8b82d61c --- /dev/null +++ b/sys-devel/libtool/files/1.5.20/libtool-1.5.20-use-linux-version-in-fbsd.patch @@ -0,0 +1,38 @@ +Force linux-style versioning when generating shared libraries on +Gentoo/FreeBSD hosts only. + +Patch by Diego Pettenò + +http://bugs.gentoo.org/109105 + +--- libtool-1.5.20/libtool.m4 ++++ libtool-1.5.20/libtool.m4 +@@ -1375,7 +1375,14 @@ freebsd* | dragonfly*) + *) objformat=elf ;; + esac + fi +- version_type=freebsd-$objformat ++ # Handle Gentoo/FreeBSD as it was Linux ++ case $host_vendor in ++ gentoo) ++ version_type=linux ;; ++ *) ++ version_type=freebsd-$objformat ;; ++ esac ++ + case $version_type in + freebsd-elf*) + library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' +@@ -1386,6 +1392,12 @@ freebsd* | dragonfly*) + library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' + need_version=yes + ;; ++ linux) ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ need_lib_prefix=no ++ need_version=no ++ ;; + esac + shlibpath_var=LD_LIBRARY_PATH + case $host_os in |