summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-03-19 05:23:51 +0000
committerAron Griffis <agriffis@gentoo.org>2004-03-19 05:23:51 +0000
commitb98953974693cb0302ec68d0af82fc4671ad24a5 (patch)
tree7eaa58d03bd6ff583d64cbf661efe18ec24615d2 /net-www/mozilla-firefox
parentAdd truetype to IUSE for bug 37069. Honor USE=gtk2 for conditional dependenc... (diff)
downloadgentoo-2-b98953974693cb0302ec68d0af82fc4671ad24a5.tar.gz
gentoo-2-b98953974693cb0302ec68d0af82fc4671ad24a5.tar.bz2
gentoo-2-b98953974693cb0302ec68d0af82fc4671ad24a5.zip
Fix bug 38100 by using grep -o instead of sed for optimization fixup
Diffstat (limited to 'net-www/mozilla-firefox')
-rw-r--r--net-www/mozilla-firefox/ChangeLog6
-rw-r--r--net-www/mozilla-firefox/mozilla-firefox-0.8-r1.ebuild6
2 files changed, 8 insertions, 4 deletions
diff --git a/net-www/mozilla-firefox/ChangeLog b/net-www/mozilla-firefox/ChangeLog
index e727130a9792..b748a10df739 100644
--- a/net-www/mozilla-firefox/ChangeLog
+++ b/net-www/mozilla-firefox/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-www/mozilla-firefox
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firefox/ChangeLog,v 1.18 2004/03/19 04:58:55 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firefox/ChangeLog,v 1.19 2004/03/19 05:23:51 agriffis Exp $
+
+ 19 Mar 2004; Aron Griffis <agriffis@gentoo.org>
+ mozilla-firefox-0.8-r1.ebuild:
+ Fix bug 38100 by using grep -o instead of sed for optimization fixup
18 Mar 2004; Aron Griffis <agriffis@gentoo.org>
mozilla-firefox-0.8-r1.ebuild:
diff --git a/net-www/mozilla-firefox/mozilla-firefox-0.8-r1.ebuild b/net-www/mozilla-firefox/mozilla-firefox-0.8-r1.ebuild
index 44cc5b1c306d..059f0f575790 100644
--- a/net-www/mozilla-firefox/mozilla-firefox-0.8-r1.ebuild
+++ b/net-www/mozilla-firefox/mozilla-firefox-0.8-r1.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/net-www/mozilla-firefox/mozilla-firefox-0.8-r1.ebuild,v 1.3 2004/03/19 04:58:55 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firefox/mozilla-firefox-0.8-r1.ebuild,v 1.4 2004/03/19 05:23:51 agriffis Exp $
inherit makeedit flag-o-matic gcc nsplugins eutils
@@ -160,13 +160,13 @@ src_compile() {
alpha|amd64|ia64)
# Allow -O0 or -O1: Anything more than this causes
# segfaults on startup on 64-bit (bug 33767)
- enable_optimize=$(echo "$CFLAGS" | sed 's/.*\(-O[01]\?\).*/\1/p')
+ enable_optimize=$(echo "$CFLAGS" | grep -Eoe '-O[01]|-O\>')
enable_optimize=${enable_optimize:--O1}
filter-flags -O -O?
;;
*)
# -O2 and below allowed on 32-bit
- enable_optimize=$(echo "$CFLAGS" | sed 's/.*\(-O[012]\?\).*/\1/p')
+ enable_optimize=$(echo "$CFLAGS" | grep -Eoe '-O[012]|-O\>')
enable_optimize=${enable_optimize:--O2}
filter-flags -O -O?
;;