summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2011-11-23 19:29:35 +0000
committerMike Gilbert <floppym@gentoo.org>2011-11-23 19:29:35 +0000
commit40784f4edc0a6a87157d22548bbd326406989fba (patch)
tree3ea3a5bcce9f3efc927dcc3290d8deacf3961ede /dev-lang
parentAdd pkg_pretend check for gcc-4.5.2, which segfaults. Bug 389937. (diff)
downloadgentoo-2-40784f4edc0a6a87157d22548bbd326406989fba.tar.gz
gentoo-2-40784f4edc0a6a87157d22548bbd326406989fba.tar.bz2
gentoo-2-40784f4edc0a6a87157d22548bbd326406989fba.zip
Add pkg_pretend check to live ebuild.
(Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/v8/ChangeLog5
-rw-r--r--dev-lang/v8/v8-9999.ebuild13
2 files changed, 15 insertions, 3 deletions
diff --git a/dev-lang/v8/ChangeLog b/dev-lang/v8/ChangeLog
index 74051deed2c7..29895e2c8b6e 100644
--- a/dev-lang/v8/ChangeLog
+++ b/dev-lang/v8/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/v8
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.110 2011/11/23 19:27:23 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/ChangeLog,v 1.111 2011/11/23 19:29:35 floppym Exp $
+
+ 23 Nov 2011; Mike Gilbert <floppym@gentoo.org> v8-9999.ebuild:
+ Add pkg_pretend check to live ebuild.
23 Nov 2011; Mike Gilbert <floppym@gentoo.org> v8-3.6.6.5.ebuild,
v8-3.6.6.6.ebuild, v8-3.7.6.ebuild, v8-3.7.7.ebuild:
diff --git a/dev-lang/v8/v8-9999.ebuild b/dev-lang/v8/v8-9999.ebuild
index 003a5a0dce38..8bb55c442612 100644
--- a/dev-lang/v8/v8-9999.ebuild
+++ b/dev-lang/v8/v8-9999.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-9999.ebuild,v 1.21 2011/11/14 12:45:41 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-9999.ebuild,v 1.22 2011/11/23 19:29:35 floppym Exp $
-EAPI="3"
+EAPI="4"
PYTHON_DEPEND="2:2.6"
@@ -17,6 +17,15 @@ SLOT="0"
KEYWORDS=""
IUSE=""
+pkg_pretend() {
+ local gccver=$(gcc-fullversion)
+ if [[ ${gccver} = 4.5.2 ]]; then
+ eerror "The currently selected version of gcc is known to segfault when building this"
+ eerror "version of V8. Please use at least gcc-4.5.3."
+ die "gcc-${gccver} detected."
+ fi
+}
+
pkg_setup() {
python_set_active_version 2
python_pkg_setup