summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-01 01:10:28 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-01 01:10:28 +0000
commit821f064bdcdce1e9e75ec4a686d2fad053c9e378 (patch)
tree6dcd42e3ae1c154de8045fdec009ec8f1af71afc /sys-devel/kgcc64
parentRemoved version 0.3.0. Marked version 0.4.0 stable on amd64. Added new versio... (diff)
downloadgentoo-2-821f064bdcdce1e9e75ec4a686d2fad053c9e378.tar.gz
gentoo-2-821f064bdcdce1e9e75ec4a686d2fad053c9e378.tar.bz2
gentoo-2-821f064bdcdce1e9e75ec4a686d2fad053c9e378.zip
add support for x86 and update DEPEND for hppa
Diffstat (limited to 'sys-devel/kgcc64')
-rw-r--r--sys-devel/kgcc64/kgcc64-3.4.5.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-devel/kgcc64/kgcc64-3.4.5.ebuild b/sys-devel/kgcc64/kgcc64-3.4.5.ebuild
index 96e7cd4ae33a..91be1ae0e9e6 100644
--- a/sys-devel/kgcc64/kgcc64-3.4.5.ebuild
+++ b/sys-devel/kgcc64/kgcc64-3.4.5.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/sys-devel/kgcc64/kgcc64-3.4.5.ebuild,v 1.1 2005/12/22 02:02:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/kgcc64-3.4.5.ebuild,v 1.2 2006/03/01 01:10:28 vapier Exp $
case ${CHOST} in
hppa*) CTARGET=hppa64-${CHOST#*-};;
@@ -8,6 +8,7 @@ case ${CHOST} in
powerpc*) CTARGET=${CHOST/powerpc/powerpc64};;
s390*) CTARGET=${CHOST/s390/s390x};;
sparc*) CTARGET=${CHOST/sparc/sparc64};;
+ i?86*) CTARGET=x86_64-${CHOST#*-};;
esac
export CTARGET
export USE="nocxx nossp nopie -fortran -gcj -objc -multilib"
@@ -20,7 +21,11 @@ inherit toolchain eutils
DESCRIPTION="64bit kernel compiler"
-KEYWORDS="-* ~hppa ~mips ~ppc ~s390 ~sparc"
+KEYWORDS="-* ~hppa ~mips ~ppc ~s390 ~sparc ~x86"
+
+# unlike every other target, hppa has not unified the 32/64 bit
+# ports in binutils yet
+DEPEND="hppa? ( sys-devel/binutils-hppa64 )"
src_unpack() {
gcc_src_unpack