summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-12-30 21:49:53 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-12-30 21:49:53 +0000
commitb6aeac03331778dd73ecc77946d4bf123689065c (patch)
tree6b451f5a5394cbd5e9abd3b21fb060482fde0aba /app-admin/eselect-python
parentmasked beta version bump (diff)
downloadgentoo-2-b6aeac03331778dd73ecc77946d4bf123689065c.tar.gz
gentoo-2-b6aeac03331778dd73ecc77946d4bf123689065c.tar.bz2
gentoo-2-b6aeac03331778dd73ecc77946d4bf123689065c.zip
Require GCC >=3.4 (bug #291980).
(Portage version: 15155-svn/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/eselect-python')
-rw-r--r--app-admin/eselect-python/ChangeLog6
-rw-r--r--app-admin/eselect-python/eselect-python-99999999.ebuild11
2 files changed, 13 insertions, 4 deletions
diff --git a/app-admin/eselect-python/ChangeLog b/app-admin/eselect-python/ChangeLog
index 679ad7f7d431..3b5df078ff14 100644
--- a/app-admin/eselect-python/ChangeLog
+++ b/app-admin/eselect-python/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/eselect-python
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/ChangeLog,v 1.49 2009/10/04 01:56:58 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/ChangeLog,v 1.50 2009/12/30 21:49:53 arfrever Exp $
+
+ 30 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ eselect-python-99999999.ebuild:
+ Require GCC >=3.4 (bug #291980).
04 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
eselect-python-20090824.ebuild:
diff --git a/app-admin/eselect-python/eselect-python-99999999.ebuild b/app-admin/eselect-python/eselect-python-99999999.ebuild
index 5a28600ffaba..fce49afcf413 100644
--- a/app-admin/eselect-python/eselect-python-99999999.ebuild
+++ b/app-admin/eselect-python/eselect-python-99999999.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-99999999.ebuild,v 1.2 2009/09/14 18:42:08 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-99999999.ebuild,v 1.3 2009/12/30 21:49:53 arfrever Exp $
EAPI="2"
-inherit flag-o-matic subversion
+inherit flag-o-matic subversion toolchain-funcs
DESCRIPTION="Eselect module for management of multiple Python versions"
HOMEPAGE="http://www.gentoo.org"
@@ -17,13 +17,18 @@ IUSE=""
RDEPEND=">=app-admin/eselect-1.0.2"
DEPEND="${RDEPEND}
- sys-devel/autoconf"
+ sys-devel/autoconf
+ >=sys-devel/gcc-3.4"
ESVN_PROJECT="eselect-python"
ESVN_REPO_URI="https://overlays.gentoo.org/svn/proj/python/projects/eselect-python/trunk"
pkg_setup() {
append-flags -fno-PIC -fno-PIE
+
+ if [[ $(gcc-major-version) -lt 3 || ($(gcc-major-version) -eq 3 && $(gcc-minor-version) -lt 4) ]]; then
+ die "GCC >=3.4 is required"
+ fi
}
src_prepare() {