summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-06-16 03:11:51 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-06-16 03:11:51 +0000
commitdf748f671d79adc18da2d149e056f91a38dcaaca (patch)
tree40b61532a7aac9364d5f8227f658344c36691e7e /sys-devel/bison
parentuclibc fixes thanks to Peter S. Mazinger <ps.m@gmx.net> (Manifest recommit) (diff)
downloadgentoo-2-df748f671d79adc18da2d149e056f91a38dcaaca.tar.gz
gentoo-2-df748f671d79adc18da2d149e056f91a38dcaaca.tar.bz2
gentoo-2-df748f671d79adc18da2d149e056f91a38dcaaca.zip
syntax fix on 3.4 compare condition
Diffstat (limited to 'sys-devel/bison')
-rw-r--r--sys-devel/bison/ChangeLog5
-rw-r--r--sys-devel/bison/bison-1.875.ebuild5
2 files changed, 7 insertions, 3 deletions
diff --git a/sys-devel/bison/ChangeLog b/sys-devel/bison/ChangeLog
index 042ff82246a1..937eaf386019 100644
--- a/sys-devel/bison/ChangeLog
+++ b/sys-devel/bison/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-devel/bison
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v 1.27 2004/06/16 02:23:49 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v 1.28 2004/06/16 03:11:51 dragonheart Exp $
+
+ 16 Jun 2004; Daniel Black <dragonheart@gentoo.org> bison-1.875.ebuild:
+ syntax fix on 3.4 compare condition
16 Jun 2004; Daniel Black <dragonheart@gentoo.org> bison-1.875.ebuild:
uclibc fixes thanks to Peter S. Mazinger <ps.m@gmx.net>
diff --git a/sys-devel/bison/bison-1.875.ebuild b/sys-devel/bison/bison-1.875.ebuild
index 86e72494e657..6b0d9a8f660d 100644
--- a/sys-devel/bison/bison-1.875.ebuild
+++ b/sys-devel/bison/bison-1.875.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-1.875.ebuild,v 1.19 2004/06/16 02:23:49 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-1.875.ebuild,v 1.20 2004/06/16 03:11:51 dragonheart Exp $
inherit gcc flag-o-matic eutils
@@ -35,7 +35,8 @@ src_compile() {
# Bug 29017 says that bison has compile-time issues with
# -march=k6* prior to 3.4CVS. Use -march=i586 instead
# (04 Feb 2004 agriffis)
- if [ "`gcc-major-version`" -eq "3" -a "`gcc-minor-version`" -lt "4" ] ; then
+ #
+ if (( $(gcc-major-version) == 3 && $(gcc-minor-version) < 4 )) ; then
replace-cpu-flags i586 k6 k6-1 k6-2
fi