summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2005-02-08 19:45:02 +0000
committerAron Griffis <agriffis@gentoo.org>2005-02-08 19:45:02 +0000
commit98d93dde7d4ae18e719dcb424713ad4e2748d588 (patch)
tree72667c68e1869bd4a946657eaf3d80403288f410 /dev-util/strace/strace-4.5.8.ebuild
parentswapping KV_FULL for OKV, like it should be (diff)
downloadhistorical-98d93dde7d4ae18e719dcb424713ad4e2748d588.tar.gz
historical-98d93dde7d4ae18e719dcb424713ad4e2748d588.tar.bz2
historical-98d93dde7d4ae18e719dcb424713ad4e2748d588.zip
more ia64 fixes for building against linux26-headers-2.6.8.1-r2
Package-Manager: portage-2.0.51-r13
Diffstat (limited to 'dev-util/strace/strace-4.5.8.ebuild')
-rw-r--r--dev-util/strace/strace-4.5.8.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-util/strace/strace-4.5.8.ebuild b/dev-util/strace/strace-4.5.8.ebuild
index 418cd3fb2bb6..4c873a9e02da 100644
--- a/dev-util/strace/strace-4.5.8.ebuild
+++ b/dev-util/strace/strace-4.5.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.5.8.ebuild,v 1.4 2005/02/08 19:20:19 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/strace/strace-4.5.8.ebuild,v 1.5 2005/02/08 19:45:02 agriffis Exp $
inherit flag-o-matic
@@ -24,8 +24,13 @@ src_unpack() {
# (08 Feb 2005 agriffis)
epatch ${FILESDIR}/strace-4.5.8-ia64.patch
+ # This is ugly but linux26-headers-2.6.8.1-r2 (and other versions) has some
+ # issues with definition of s64 and friends. This seems to solve
+ # compilation in this case (08 Feb 2005 agriffis)
+ use ia64 && append-flags -D_ASM_IA64_PAL_H
+
# Compile fails with -O3 on sparc but works on x86
- [ "${ARCH}" == "sparc" ] && replace-flags -O[3-9] -O2
+ use sparc && replace-flags -O[3-9] -O2
filter-lfs-flags
use static && append-ldflags -static