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 | f1ac5f49b9a1ce9da867c719a9f0bcea6556dbee (patch) | |
tree | f76a642d46ff2f092c2177d69d76b4e0bb639540 /sys-devel/libtool | |
parent | Version bump #109352 by Daniel Drake. (diff) | |
download | gentoo-2-f1ac5f49b9a1ce9da867c719a9f0bcea6556dbee.tar.gz gentoo-2-f1ac5f49b9a1ce9da867c719a9f0bcea6556dbee.tar.bz2 gentoo-2-f1ac5f49b9a1ce9da867c719a9f0bcea6556dbee.zip |
Add patch by Diego Pettenò to tweak versioning styles on Gentoo/FreeBSD hosts #109105.
(Portage version: 2.0.53_rc5)
Diffstat (limited to 'sys-devel/libtool')
-rw-r--r-- | sys-devel/libtool/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/libtool/files/1.5.20/libtool-1.5.20-use-linux-version-in-fbsd.patch | 38 | ||||
-rw-r--r-- | sys-devel/libtool/libtool-1.5.20.ebuild | 3 |
3 files changed, 47 insertions, 2 deletions
diff --git a/sys-devel/libtool/ChangeLog b/sys-devel/libtool/ChangeLog index 8bc73567637e..baac4954cab6 100644 --- a/sys-devel/libtool/ChangeLog +++ b/sys-devel/libtool/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/libtool # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.89 2005/10/13 13:41:34 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.90 2005/10/16 03:32:12 vapier Exp $ + + 16 Oct 2005; Mike Frysinger <vapier@gentoo.org> + +files/1.5.20/libtool-1.5.20-use-linux-version-in-fbsd.patch, + libtool-1.5.20.ebuild: + Add patch by Diego Pettenò to tweak versioning styles on Gentoo/FreeBSD + hosts #109105. 13 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org> libtool-1.5.20.ebuild: Stable on sparc wrt #108846 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 diff --git a/sys-devel/libtool/libtool-1.5.20.ebuild b/sys-devel/libtool/libtool-1.5.20.ebuild index d5cd12dcec25..eea6d182253f 100644 --- a/sys-devel/libtool/libtool-1.5.20.ebuild +++ b/sys-devel/libtool/libtool-1.5.20.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-1.5.20.ebuild,v 1.6 2005/10/13 13:41:34 gustavoz Exp ${P}-r1.ebuild,v 1.8 2002/10/04 06:34:42 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-1.5.20.ebuild,v 1.7 2005/10/16 03:32:12 vapier Exp ${P}-r1.ebuild,v 1.8 2002/10/04 06:34:42 kloeri Exp $ inherit eutils @@ -73,6 +73,7 @@ src_unpack() { epatch "${FILESDIR}"/1.5.6/${PN}-1.5.6-ltmain-SED.patch epatch "${FILESDIR}"/1.4.3/${PN}-1.4.2-expsym-linux.patch epatch "${FILESDIR}"/1.4.3/${PN}-1.4.3-pass-thread-flags.patch + epatch "${FILESDIR}"/1.5.20/${PN}-1.5.20-use-linux-version-in-fbsd.patch #109105 # Gentoo Patches # Do not create bogus entries in $dependency_libs or $libdir |