summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Thibaut <murphy@gentoo.org>2002-08-27 22:53:33 +0000
committerMaarten Thibaut <murphy@gentoo.org>2002-08-27 22:53:33 +0000
commit5662c683a3d489c95a9d33b13b14fa3efd56cab3 (patch)
tree6d5afeb393887c227329c9494b523cadaac2a14a /dev-util
parentInstalling documentation. (diff)
downloadgentoo-2-5662c683a3d489c95a9d33b13b14fa3efd56cab3.tar.gz
gentoo-2-5662c683a3d489c95a9d33b13b14fa3efd56cab3.tar.bz2
gentoo-2-5662c683a3d489c95a9d33b13b14fa3efd56cab3.zip
Added sparc keywords, fixed -O3 CFLAGS bug for sparc64
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/strace/ChangeLog9
-rw-r--r--dev-util/strace/strace-4.4.ebuild8
2 files changed, 15 insertions, 2 deletions
diff --git a/dev-util/strace/ChangeLog b/dev-util/strace/ChangeLog
index d52be778bf4e..b54dca4cec13 100644
--- a/dev-util/strace/ChangeLog
+++ b/dev-util/strace/ChangeLog
@@ -1,10 +1,17 @@
# ChangeLog for dev-util/strace
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/ChangeLog,v 1.4 2002/08/01 18:26:40 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/ChangeLog,v 1.5 2002/08/27 22:53:33 murphy Exp $
*strace-4.4 (27 Apr 2002)
+ 27 Aug 2002; Maarten Thibaut <murphy@gentoo.org> strace-4.4.ebuild :
+
+ Added sparc and sparc64 to keywords.
+ Bugfix for sparc and sparc64 where emerge would fail if the "-O3" option
+ were present in CFLAGS.
+
01 Aug 2002; Mark Guertin <gerk@gentoo.org> strace-4.4.ebuild :
+
Added ppc to keywords
17 May 2002; Bruce A. Locke <blocke@shivan.org> strace-4.4.ebuild :
diff --git a/dev-util/strace/strace-4.4.ebuild b/dev-util/strace/strace-4.4.ebuild
index 9a669bb8012b..986b0bebc60e 100644
--- a/dev-util/strace/strace-4.4.ebuild
+++ b/dev-util/strace/strace-4.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.4.ebuild,v 1.7 2002/08/16 04:04:42 murphy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.4.ebuild,v 1.8 2002/08/27 22:53:33 murphy Exp $
# NOTE: For some reason, upstream has changed the naming scheme
# for the tarballs to something quite lame:
@@ -28,6 +28,12 @@ DEPEND="virtual/glibc sys-devel/autoconf"
RDEPEND="${DEPEND}"
src_compile() {
+ # Compile fails with -O3 on sparc64 but works on x86, sparc untested
+ if [ "${ARCH}" == "sparc" -o "${ARCH}" == "sparc64" ]; then
+ if [ -n "${CFLAGS}" ]; then
+ CFLAGS=`echo ${CFLAGS} | sed -e 's:-O3:-O2:'`
+ fi
+ fi
# configure is broken by default for sparc and possibly others, regen
# from configure.in
autoconf