summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-11-28 15:55:34 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-11-28 15:55:34 +0000
commit381c32d8a520d48e096834e4540342d7e87c0d41 (patch)
tree5727dc7dfc2078fe4721c12d3225b4e31f3030e4 /sys-devel/bc
parentAdded IUSE (diff)
downloadgentoo-2-381c32d8a520d48e096834e4540342d7e87c0d41.tar.gz
gentoo-2-381c32d8a520d48e096834e4540342d7e87c0d41.tar.bz2
gentoo-2-381c32d8a520d48e096834e4540342d7e87c0d41.zip
replace-flags for amd64
Diffstat (limited to 'sys-devel/bc')
-rw-r--r--sys-devel/bc/ChangeLog5
-rw-r--r--sys-devel/bc/Manifest6
-rw-r--r--sys-devel/bc/bc-1.06-r5.ebuild6
3 files changed, 12 insertions, 5 deletions
diff --git a/sys-devel/bc/ChangeLog b/sys-devel/bc/ChangeLog
index f08ec7b59a47..e88e6deedd1a 100644
--- a/sys-devel/bc/ChangeLog
+++ b/sys-devel/bc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-devel/bc
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/bc/ChangeLog,v 1.12 2003/09/17 19:05:54 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/bc/ChangeLog,v 1.13 2003/11/28 15:55:30 aliz Exp $
+
+ 27 Nov 2003; Daniel Ahlberg <aliz@gentoo.org> bc-1.06-r5.ebuild:
+ replace-flags for amd64.
*bc-1.06-r5 (19 Feb 2003)
diff --git a/sys-devel/bc/Manifest b/sys-devel/bc/Manifest
index d689a72e4ed9..2d382eea973b 100644
--- a/sys-devel/bc/Manifest
+++ b/sys-devel/bc/Manifest
@@ -1,5 +1,5 @@
-MD5 6c0df8122a7a555d8fe9713bdca5909c ChangeLog 1778
-MD5 d8f4d4524eafdde9b32b6acde9621036 bc-1.06-r5.ebuild 1821
+MD5 162e36454b05617a88b34c9554b9190b bc-1.06-r5.ebuild 1917
+MD5 0aa322b4bb144a476dbdd3172e7987bd ChangeLog 1872
MD5 c6bc9e8c6698c429c778901b2d353c3f files/bc-1.06-info-fix.diff 3182
-MD5 40794acac9c09ee182af19387df613b4 files/bc-1.06-readline42.diff 430
MD5 ab5dc8993a9b72c7a4f4160c6a6348ac files/digest-bc-1.06-r5 59
+MD5 40794acac9c09ee182af19387df613b4 files/bc-1.06-readline42.diff 430
diff --git a/sys-devel/bc/bc-1.06-r5.ebuild b/sys-devel/bc/bc-1.06-r5.ebuild
index fd8b148b38b6..ff356eee5eb4 100644
--- a/sys-devel/bc/bc-1.06-r5.ebuild
+++ b/sys-devel/bc/bc-1.06-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/bc/bc-1.06-r5.ebuild,v 1.10 2003/09/17 19:05:54 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/bc/bc-1.06-r5.ebuild,v 1.11 2003/11/28 15:55:30 aliz Exp $
IUSE="readline"
@@ -53,6 +53,10 @@ src_compile() {
# -Os causes segfaults on x86
use x86 && replace-flags "-Os" "-O2"
+
+ # >= -O2 crashes bc -l and -O1 produces no output
+ use amd64 && replace-flags "-O[1-9]" "-O0"
+
local myconf=""
use readline && myconf="--with-readline"