summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-09-28 15:48:57 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-09-28 15:48:57 +0000
commit5246cacd84a6fa5aa6c1b9921d6fc6ffb9ba6489 (patch)
tree3431078d64a2729db6ccd2669f79edc30fa7f53e /dev-libs/libffi
parentunmask perl-5.8.8-r6 as bug#269430 is fixed now (diff)
downloadhistorical-5246cacd84a6fa5aa6c1b9921d6fc6ffb9ba6489.tar.gz
historical-5246cacd84a6fa5aa6c1b9921d6fc6ffb9ba6489.tar.bz2
historical-5246cacd84a6fa5aa6c1b9921d6fc6ffb9ba6489.zip
Use has_version to print warning only if sys-devel/gcc is built with USE libffi. This can be made a blocking atom once sparc is done with gnustep-base/gnustep-base and old versions are removed from tree. Thanks to Dirkjan Ochtman and Arfrever Frehtes Taifersar Arahesis in bug 286733.
Package-Manager: portage-2.2_rc42/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libffi')
-rw-r--r--dev-libs/libffi/ChangeLog8
-rw-r--r--dev-libs/libffi/Manifest14
-rw-r--r--dev-libs/libffi/libffi-3.0.8.ebuild16
3 files changed, 18 insertions, 20 deletions
diff --git a/dev-libs/libffi/ChangeLog b/dev-libs/libffi/ChangeLog
index 57287dbc13e5..6f8d4aa23551 100644
--- a/dev-libs/libffi/ChangeLog
+++ b/dev-libs/libffi/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libffi
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.75 2009/09/23 19:15:35 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.76 2009/09/28 15:48:57 ssuominen Exp $
+
+ 28 Sep 2009; Samuli Suominen <ssuominen@gentoo.org> libffi-3.0.8.ebuild:
+ Use has_version to print warning only if sys-devel/gcc is built with USE
+ libffi. This can be made a blocking atom once sparc is done with
+ gnustep-base/gnustep-base and old versions are removed from tree. Thanks
+ to Dirkjan Ochtman and Arfrever Frehtes Taifersar Arahesis in bug 286733.
23 Sep 2009; Alexis Ballier <aballier@gentoo.org> libffi-3.0.8.ebuild,
+files/libffi-3.0.8-fbsd.patch:
diff --git a/dev-libs/libffi/Manifest b/dev-libs/libffi/Manifest
index 35a52877c759..366226935bb1 100644
--- a/dev-libs/libffi/Manifest
+++ b/dev-libs/libffi/Manifest
@@ -1,15 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX libffi-3.0.8-fbsd.patch 866 RMD160 ac8c5a157bf3faf5d54ef2bab8822cec5656aaef SHA1 d460fd0a55365f0b4befbdb2c2259399dd875e44 SHA256 5c50d84ba3e6312c046efa5ac8bed0c6b9b719ae98196f7841511f62dccb568d
DIST libffi-3.0.8.tar.gz 722834 RMD160 4144f64e79ebf95161a6afd58ceaeef8372b5e57 SHA1 ce44d10c39d9a37479c8777e206cac0f36c48712 SHA256 2c7c5b88a68fb362262889ba25ef25dc27864b7bbf03547a8a36b8d567569406
-EBUILD libffi-3.0.8.ebuild 1108 RMD160 4006a30c35613a1209e1ab5279ec783facec9626 SHA1 fed2dda89834c79fde936cd8784b3d6a4cdfe795 SHA256 f5ad144a914a5c50ca6949f3081e315e7a126aa36200b26f4060ee4065199a18
-MISC ChangeLog 10612 RMD160 6b4ce13b5d79d6a3220f8e6e22a437ac17182eb5 SHA1 ff17ceb660c256a4defa4f45775172441c4f238c SHA256 c2a15c07a1e3940bbc755dbe4a0a450c98eccfac99b59d1134082077ca556ee2
+EBUILD libffi-3.0.8.ebuild 1137 RMD160 0202deaec66a13e4425da9be531532a0652c59ca SHA1 de2760289d456a5463add0ea21aee5f9c6905b0e SHA256 a1838bf63ab5b58960e25b0ec44eaee1e56ba96fabaa12059b58f9e3c3b3fa5a
+MISC ChangeLog 10982 RMD160 393c547e297437338a10530b50189484c5e6d9a4 SHA1 75902630cf2e6ae04d30ab1453455c0fba2a2bc6 SHA256 a116de2b44397d1bf7b7bed561e3d31cd2efb975f0d4ed4e4d46e47835aea66c
MISC metadata.xml 1834 RMD160 4ae38a0125a0d16e2f8eeced99225474ba6a7a01 SHA1 ff8e48fc31017e3206a550b7d833a2e54b5a9041 SHA256 7c023f3a22feee632409f456117fc2339ae8090683a311495b6def4da9ae9fa5
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAkq6c90ACgkQvFcC4BYPU0obYQCgiPPG81/fv7j9qL1r6ZDcdqtq
-MnMAoJmiZS40CTPOOo1fEKifAisDs0KW
-=IyWy
------END PGP SIGNATURE-----
diff --git a/dev-libs/libffi/libffi-3.0.8.ebuild b/dev-libs/libffi/libffi-3.0.8.ebuild
index 3c8f7d61a912..c477365d9191 100644
--- a/dev-libs/libffi/libffi-3.0.8.ebuild
+++ b/dev-libs/libffi/libffi-3.0.8.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/dev-libs/libffi/libffi-3.0.8.ebuild,v 1.17 2009/09/23 19:15:35 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.8.ebuild,v 1.18 2009/09/28 15:48:57 ssuominen Exp $
EAPI=2
-inherit eutils autotools
+inherit autotools eutils
DESCRIPTION="a portable, high level programming interface to various calling conventions."
HOMEPAGE="http://sourceware.org/libffi"
@@ -19,7 +19,7 @@ DEPEND="!<dev-libs/g-wrap-1.9.11
test? ( dev-util/dejagnu )"
src_prepare() {
- epatch "${FILESDIR}/${P}-fbsd.patch"
+ epatch "${FILESDIR}"/${P}-fbsd.patch
eautoreconf
}
@@ -31,12 +31,14 @@ src_configure() {
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install || die
dodoc ChangeLog* README TODO
}
pkg_postinst() {
- ewarn "Please unset USE flag libffi in sys-devel/gcc. There is no"
- ewarn "file collision but your package might link to wrong library."
- ebeep
+ if has_version sys-devel/gcc[libffi]; then
+ ewarn "Please unset USE flag libffi in sys-devel/gcc. There is no"
+ ewarn "file collision but your package might link to wrong library."
+ ebeep
+ fi
}