summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2005-01-17 12:32:50 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2005-01-17 12:32:50 +0000
commitff2a7cbed7fdf6d40d92fe5cdc554df381cf5bd7 (patch)
tree32883aabcf2a70e8abaf6212eec08019ccffe178 /dev-lang/maude
parentSlotted the firmware to allow direct version depends. (diff)
downloadgentoo-2-ff2a7cbed7fdf6d40d92fe5cdc554df381cf5bd7.tar.gz
gentoo-2-ff2a7cbed7fdf6d40d92fe5cdc554df381cf5bd7.tar.bz2
gentoo-2-ff2a7cbed7fdf6d40d92fe5cdc554df381cf5bd7.zip
Less restrictive when checking gcc version
Diffstat (limited to 'dev-lang/maude')
-rw-r--r--dev-lang/maude/ChangeLog7
-rw-r--r--dev-lang/maude/maude-2.1.1-r2.ebuild22
2 files changed, 21 insertions, 8 deletions
diff --git a/dev-lang/maude/ChangeLog b/dev-lang/maude/ChangeLog
index 918bd8069712..6f47be5a7abe 100644
--- a/dev-lang/maude/ChangeLog
+++ b/dev-lang/maude/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/maude
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/maude/ChangeLog,v 1.7 2004/12/28 19:58:15 ribosome Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/maude/ChangeLog,v 1.8 2005/01/17 12:32:50 phosphan Exp $
+
+ 17 Jan 2005; Patrick Kursawe <phosphan@gentoo.org> maude-2.1.1-r2.ebuild:
+ Changed DEPEND and added pkg_setup gcc version check because of bug #77856
28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> maude-2.1.1-r2.ebuild:
Dependency update: dev-libs/buddy -> sci-libs/buddy.
diff --git a/dev-lang/maude/maude-2.1.1-r2.ebuild b/dev-lang/maude/maude-2.1.1-r2.ebuild
index 1b29d94140f4..291eb3c77716 100644
--- a/dev-lang/maude/maude-2.1.1-r2.ebuild
+++ b/dev-lang/maude/maude-2.1.1-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/maude/maude-2.1.1-r2.ebuild,v 1.2 2004/12/28 19:58:15 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/maude/maude-2.1.1-r2.ebuild,v 1.3 2005/01/17 12:32:50 phosphan Exp $
-inherit eutils
+inherit toolchain-funcs eutils
DESCRIPTION="Maude - A high-level specification language"
HOMEPAGE="http://maude.cs.uiuc.edu/"
@@ -18,12 +18,22 @@ IUSE="doc"
RDEPEND="virtual/libc
sci-libs/buddy
dev-libs/libtecla
- >=dev-libs/gmp-4.1.3
- >=sys-devel/gcc-3.4.3"
+ >=dev-libs/gmp-4.1.3"
DEPEND="${RDEPEND}
sys-devel/bison
- sys-devel/flex"
+ sys-devel/flex
+ || ( >=sys-devel/gcc-3.4.3
+ =sys-devel/gcc-3.3* )"
+
+pkg_setup() {
+ if [ "$(gcc-version)" = "3.4" ]; then
+ if [ "$(gcc-micro-version)" -lt 3 ]; then
+ eerror "Need gcc 3.3.x or >= 3.4.3"
+ die "Wrong gcc version"
+ fi
+ fi
+}
src_unpack() {
unpack ${A}