diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-09-13 22:50:01 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-09-13 22:50:01 +0000 |
commit | c38ced254f99e0212f6d3b1a7e02665df4ee9df8 (patch) | |
tree | e06e43cb546986e84ed52686db2d5d35209e522b /sys-devel/libtool | |
parent | Remove virtual/libc deps (diff) | |
download | historical-c38ced254f99e0212f6d3b1a7e02665df4ee9df8.tar.gz historical-c38ced254f99e0212f6d3b1a7e02665df4ee9df8.tar.bz2 historical-c38ced254f99e0212f6d3b1a7e02665df4ee9df8.zip |
Use -Wl,--no-as-needed with binutils older than 2.20 betas to avoid failure of tests #63. Thanks to Dustin Polke, Roberto Sigalotti and Christian Ruppert for helping me track down the issue.
Package-Manager: portage-2.2_rc40/cvs/Linux x86_64
Diffstat (limited to 'sys-devel/libtool')
-rw-r--r-- | sys-devel/libtool/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/libtool/Manifest | 10 | ||||
-rw-r--r-- | sys-devel/libtool/libtool-2.2.6a.ebuild | 16 |
3 files changed, 25 insertions, 9 deletions
diff --git a/sys-devel/libtool/ChangeLog b/sys-devel/libtool/ChangeLog index 8ce66d1ac866..89c5439b2d57 100644 --- a/sys-devel/libtool/ChangeLog +++ b/sys-devel/libtool/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/libtool # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.145 2009/09/13 15:41:49 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/ChangeLog,v 1.146 2009/09/13 22:50:01 flameeyes Exp $ + + 13 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org> + libtool-2.2.6a.ebuild: + Use -Wl,--no-as-needed with binutils older than 2.20 betas to avoid + failure of tests #63. Thanks to Dustin Polke, Roberto Sigalotti and + Christian Ruppert for helping me track down the issue. 13 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org> libtool-2.2.6a.ebuild, +files/2.2.6a/libtool-2.2.6a-tests-locale.patch: diff --git a/sys-devel/libtool/Manifest b/sys-devel/libtool/Manifest index baeb3c258819..efee42073115 100644 --- a/sys-devel/libtool/Manifest +++ b/sys-devel/libtool/Manifest @@ -15,14 +15,14 @@ DIST libtool-2.2.6a.tar.lzma 733923 RMD160 1f1d4d8a86615fb455b76d5edcc92fe1a8ebf EBUILD libtool-1.3.5.ebuild 800 RMD160 6c4fea1ab669d1a1926f176476fcba1f1fc84483 SHA1 a0fafa46ce16604a62bd56efdc65196730bb9397 SHA256 1d937d795219f49d8231ec0e11963043e4586da182603425f5b475d24600f49f EBUILD libtool-1.5.26.ebuild 2767 RMD160 4925000b25774e4e53dda375dc6fff7038f6944c SHA1 c6faa58ee70d0712f2c3179ee74dd7d9189422bc SHA256 9fc50159f1d7828a16d159c643ac2b012a92be181aa96656d799b2a450125e1d EBUILD libtool-2.2.4.ebuild 1255 RMD160 ea8ee469a76064a717e49091576a598520fdfef0 SHA1 6970bc4cc405d28a5238da70bfde7771dd4c91dc SHA256 1edbbd94403641a68c0f6cc7a891921e8b2a1f265679c0d2c54e4da296068b54 -EBUILD libtool-2.2.6a.ebuild 1809 RMD160 e56d79a3d00aceb955828aa1824361b9d5ba52e5 SHA1 1758e2d8f36b2b5301bc902baece68af4842b2c6 SHA256 a20b8444b205d3ee58884724e8ad02ad57a4d6c5482715ea778d81b9850ad6a1 +EBUILD libtool-2.2.6a.ebuild 2216 RMD160 d19d8d75b1b3044c6218cc5d5e1d68091bbaa651 SHA1 a4c6c130d65ebd273a5e81192ab6fa7384ab3793 SHA256 88426fb322ba4da90fc4eb480ac9d0d667f25a2b0fd5fd156de9e01188a41cae EBUILD libtool-9999.ebuild 1327 RMD160 f9a217315d38dfda00e8d8c6877040dac63dbb66 SHA1 38aeec4338c6d1e58c69ec6ab639f8ee55f34f7f SHA256 b7c9be504e756544411db0d163237834e146de5e9c7e8302b0a1d8b89d124f02 -MISC ChangeLog 22373 RMD160 2db165bb22de52174309d756ca5e880f13d43831 SHA1 a380ec130805d3ea36a8976362bddd615d075728 SHA256 252dbcd42cf91b48f749d2914520ebed05b1302663ae7dfca8a566731eecb582 +MISC ChangeLog 22652 RMD160 95502ccb2845cd9bc15ebacc7754ef3b37da3fda SHA1 adce79440d11ff8a63612fa1ff371f225481364b SHA256 d2b5ef7b4df466082c101108aef242ca114ac87020ac9c1e1dfc793c4e23a7e3 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAkqtEsMACgkQAiZjviIA2Xhd6QCgz5QGSuwOkqdDChXGwf6C+SJ7 -6IIAoPSSmpztz8svxxQUyJcp5VKR9om7 -=+kYD +iEYEARECAAYFAkqtdx8ACgkQAiZjviIA2XjNTwCfV7pKSmMo37KvAJS/mmnn8PBl +ko0An06dMGB1AgjYfUbmAVHVdSSD8n7S +=/V1T -----END PGP SIGNATURE----- diff --git a/sys-devel/libtool/libtool-2.2.6a.ebuild b/sys-devel/libtool/libtool-2.2.6a.ebuild index d67cad7a92e2..696c027a8a0f 100644 --- a/sys-devel/libtool/libtool-2.2.6a.ebuild +++ b/sys-devel/libtool/libtool-2.2.6a.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-2.2.6a.ebuild,v 1.7 2009/09/13 15:41:49 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/libtool/libtool-2.2.6a.ebuild,v 1.8 2009/09/13 22:50:01 flameeyes Exp $ LIBTOOLIZE="true" #225559 -inherit eutils autotools +inherit eutils autotools flag-o-matic DESCRIPTION="A shared library tool for developers" HOMEPAGE="http://www.gnu.org/software/libtool/" @@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.lzma" LICENSE="GPL-2" SLOT="1.5" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" -IUSE="vanilla" +IUSE="vanilla test" RDEPEND="sys-devel/gnuconfig >=sys-devel/autoconf-2.60 @@ -23,6 +23,16 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${P%a} +pkg_setup() { + if use test && ! has_version '>sys-devel/binutils-2.19.51'; then + einfo "Disabling --as-needed, since you got older binutils and you asked" + einfo "to run tests. With the stricter (older) --as-needed behaviour" + einfo "you'd be seeing a test failure in test #63; this has been fixed" + einfo "in the newer version of binutils." + append-ldflags -Wl,--no-as-needed + fi +} + src_unpack() { unpack ${A} cd "${S}" |