summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2003-02-14 11:19:22 +0000
committerGuy Martin <gmsoft@gentoo.org>2003-02-14 11:19:22 +0000
commitad8b1b1d7f79fe6bb673a38e45eb6f8f7b19db24 (patch)
tree7aa7666dce4249404a9c6a5d7971c3bc52f52f60 /dev-util/strace
parenttouchups and inherit #15675 (diff)
downloadgentoo-2-ad8b1b1d7f79fe6bb673a38e45eb6f8f7b19db24.tar.gz
gentoo-2-ad8b1b1d7f79fe6bb673a38e45eb6f8f7b19db24.tar.bz2
gentoo-2-ad8b1b1d7f79fe6bb673a38e45eb6f8f7b19db24.zip
Added -DHPPA for gcc on hppa. Added hppa to keywords.
Diffstat (limited to 'dev-util/strace')
-rw-r--r--dev-util/strace/ChangeLog5
-rw-r--r--dev-util/strace/strace-4.4-r1.ebuild11
2 files changed, 13 insertions, 3 deletions
diff --git a/dev-util/strace/ChangeLog b/dev-util/strace/ChangeLog
index 8d0c7950a681..0d980b612b22 100644
--- a/dev-util/strace/ChangeLog
+++ b/dev-util/strace/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/strace
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/ChangeLog,v 1.10 2003/02/12 06:46:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/ChangeLog,v 1.11 2003/02/14 11:19:22 gmsoft Exp $
+
+ 14 Feb 2003; Guy Martin <gmsoft@gentoo.org> strace-4.4-r1.ebuild :
+ Added -DHPPA for gcc on hppa. Added hppa to keywords.
*strace-4.4-r1 (31 Dec 2002)
diff --git a/dev-util/strace/strace-4.4-r1.ebuild b/dev-util/strace/strace-4.4-r1.ebuild
index d9be2a1aef01..9b11efe7cceb 100644
--- a/dev-util/strace/strace-4.4-r1.ebuild
+++ b/dev-util/strace/strace-4.4-r1.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/dev-util/strace/strace-4.4-r1.ebuild,v 1.3 2003/02/13 12:01:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.4-r1.ebuild,v 1.4 2003/02/14 11:19:22 gmsoft Exp $
# NOTE: For some reason, upstream has changed the naming scheme
# for the tarballs to something quite lame:
@@ -18,7 +18,7 @@ HOMEPAGE="http://www.wi.leidenuniv.nl/~wichert/strace/"
SLOT="0"
LICENSE="as-is"
-KEYWORDS="x86 ~ppc ~sparc alpha"
+KEYWORDS="x86 ~ppc ~sparc alpha hppa"
IUSE="static"
DEPEND="virtual/glibc
@@ -31,6 +31,13 @@ src_compile() {
CFLAGS=`echo ${CFLAGS} | sed -e 's:-O3:-O2:'`
fi
fi
+
+ # -DHPPA need to be provided to gcc for compiling on hppa
+ if [ "${ARCH}" = "hppa" ]
+ then
+ CFLAGS="${CFLAGS} -DHPPA"
+ fi
+
# configure is broken by default for sparc and possibly others, regen
# from configure.in