summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libffi/ChangeLog6
-rw-r--r--dev-libs/libffi/Manifest4
-rw-r--r--dev-libs/libffi/libffi-3.0.10_rc5.ebuild14
3 files changed, 19 insertions, 5 deletions
diff --git a/dev-libs/libffi/ChangeLog b/dev-libs/libffi/ChangeLog
index fea5294044f6..2d6e432027dc 100644
--- a/dev-libs/libffi/ChangeLog
+++ b/dev-libs/libffi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/libffi
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.112 2011/02/15 17:51:42 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.113 2011/02/23 17:21:11 ssuominen Exp $
+
+ 23 Feb 2011; Samuli Suominen <ssuominen@gentoo.org> libffi-3.0.10_rc5.ebuild:
+ Detect and document broken installation of sys-devel/gcc in the build.log wrt
+ #354903
*libffi-3.0.10_rc5 (15 Feb 2011)
diff --git a/dev-libs/libffi/Manifest b/dev-libs/libffi/Manifest
index ba513818a15b..d0a94c86a11d 100644
--- a/dev-libs/libffi/Manifest
+++ b/dev-libs/libffi/Manifest
@@ -8,9 +8,9 @@ DIST libffi-3.0.10rc4.tar.gz 754670 RMD160 ce386d4ec5c79c6e91152cb9d442dec6b65c0
DIST libffi-3.0.10rc5.tar.gz 757801 RMD160 030b86da7691f9f9c81fa5f368a46c5ccfee4360 SHA1 0295b3fa7726dc66b72ddeb116d67cb9ecd9073e SHA256 26d2239c49473869662c0b1b51a3680afdb1033878b2b6484021da8b656e8b98
DIST libffi-3.0.9.tar.gz 731719 RMD160 11ff9aeb62f4fbe1fecf09e6f9814a72bfedb37a SHA1 56e41f87780e09d06d279690e53d4ea2c371ea88 SHA256 589d25152318bc780cd8919b14670793f4971d9838dab46ed38c32b3ee92c452
EBUILD libffi-3.0.10_rc4.ebuild 1136 RMD160 938bffbc30e4a627f23d0011ea9872875f2f86e9 SHA1 8a8697ff1ef3ec05bdc35f31fa623a47e2697545 SHA256 972908648b21fdd381db710a079c0d037737e4e0dac0fa6a2170a0dcdc1cd387
-EBUILD libffi-3.0.10_rc5.ebuild 1136 RMD160 7f219144517a949507346f002b2498a6225addda SHA1 412f6073fe48e1606cc4a2f436604721ff7211ad SHA256 36938a342f1252b4fabe6dde0b3f02f15d9cd9adf20425265e8a45e8e0619c69
+EBUILD libffi-3.0.10_rc5.ebuild 1520 RMD160 dc760dcee1bc4905977c63fa5f93e34d25c06739 SHA1 4d4239ad1ef8fcce73fbfa11346c463784bc7de4 SHA256 4860ac61ed41e7b3d25ad8901104f65b91bdb7a435bfe3303aa7a5feb8f2b706
EBUILD libffi-3.0.9-r1.ebuild 1361 RMD160 1613c58d115c3f84441fb8527d4c3285a49f1d32 SHA1 ce9f318764eaeedc7d7ac83acb6a910f539ac5ad SHA256 ff664ab0055c64993c0f0f4e562d02fb4d9dd22e354d8e1f3fca6befce5bbd0f
EBUILD libffi-3.0.9-r2.ebuild 1375 RMD160 3427fbf579ad88f25500a1024a598e68753f9512 SHA1 14919917e3dfaffef83f1e4f6b049c21cb6cb118 SHA256 ee8cb681b7f6a79b48b07615fdfcfd9ff00221e1b2b2eb263c2d09ddaaaac31c
EBUILD libffi-3.0.9.ebuild 1241 RMD160 65dae7ee8f9e173433b4c03f2e12b735a32918e9 SHA1 99153a28229846f0737a38d28efb9af2a9c9840a SHA256 d2f4ad38e4c2c4010974a1893c72462dde9accc7eecc2532f70076ac5bb63d63
-MISC ChangeLog 15443 RMD160 314833700fd1d1cb10de48b09f8f2fe68a7a734e SHA1 eb30ce45e15f003d92f0e349fa6c02e61cc8f120 SHA256 50f0c28514001b847d07c7f6d46747d599208d213c907fb88ae16334af1bc218
+MISC ChangeLog 15614 RMD160 dc8248f8aee9ceac38891b171166f162d4280541 SHA1 0218f66276bb38b65ac0f5941e0d32c9c9768e19 SHA256 d2794f6eaae3e233d1808de3c89ba31c011007dd2c57f8ad3dd9869f46a43182
MISC metadata.xml 1663 RMD160 d2ead0beb5a34033489150623558bbe4e0083516 SHA1 8a54e9af62c01a17431ee8359edbe1d35099d3c3 SHA256 f03f0b55cdf4405ead462ba1c1b8ff2f1b6821c22c3f23d484490f8c875f6073
diff --git a/dev-libs/libffi/libffi-3.0.10_rc5.ebuild b/dev-libs/libffi/libffi-3.0.10_rc5.ebuild
index 1ea8b20ae975..f3e84357c0d3 100644
--- a/dev-libs/libffi/libffi-3.0.10_rc5.ebuild
+++ b/dev-libs/libffi/libffi-3.0.10_rc5.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.10_rc5.ebuild,v 1.1 2011/02/15 17:51:42 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.10_rc5.ebuild,v 1.2 2011/02/23 17:21:11 ssuominen Exp $
EAPI=2
MY_P=${P/_}
-inherit libtool
+inherit libtool toolchain-funcs
DESCRIPTION="a portable, high level programming interface to various calling conventions."
HOMEPAGE="http://sourceware.org/libffi/"
@@ -22,6 +22,16 @@ DEPEND="test? ( dev-util/dejagnu )"
S=${WORKDIR}/${MY_P}
+pkg_setup() {
+ # Detect and document broken installation of sys-devel/gcc in the build.log wrt #354903
+ if ! has_version dev-libs/libffi; then
+ local base="${T}/conftest"
+ echo 'int main() { }' > "${base}.c"
+ $(tc-getCC) -o "${base}" "${base}.c" -lffi >&/dev/null && \
+ ewarn "Found a copy of second libffi in your system. Uninstall it before continuing."
+ fi
+}
+
src_prepare() {
elibtoolize
}