diff options
author | Christian Birchinger <joker@gentoo.org> | 2003-03-02 15:37:42 +0000 |
---|---|---|
committer | Christian Birchinger <joker@gentoo.org> | 2003-03-02 15:37:42 +0000 |
commit | 4b15734652adba3f6676981d706b86ff1a0c3d57 (patch) | |
tree | 2020ff29b64aa7a0bf843757e9646d9c143e99ce /sys-kernel | |
parent | Added sparc-sources-2.4.20-r4 with better kgcc detection for sparc32 machines. (diff) | |
download | gentoo-2-4b15734652adba3f6676981d706b86ff1a0c3d57.tar.gz gentoo-2-4b15734652adba3f6676981d706b86ff1a0c3d57.tar.bz2 gentoo-2-4b15734652adba3f6676981d706b86ff1a0c3d57.zip |
Changed `arch` to $ARCH in sparc-sources-2.4.20-r4.ebuild
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/sparc-sources/sparc-sources-2.4.20-r4.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-kernel/sparc-sources/sparc-sources-2.4.20-r4.ebuild b/sys-kernel/sparc-sources/sparc-sources-2.4.20-r4.ebuild index c4ffe56c0357..ed6b325da055 100644 --- a/sys-kernel/sparc-sources/sparc-sources-2.4.20-r4.ebuild +++ b/sys-kernel/sparc-sources/sparc-sources-2.4.20-r4.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-kernel/sparc-sources/sparc-sources-2.4.20-r4.ebuild,v 1.1 2003/03/02 15:07:45 joker Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/sparc-sources/sparc-sources-2.4.20-r4.ebuild,v 1.2 2003/03/02 15:37:42 joker Exp $ IUSE="build" @@ -46,6 +46,6 @@ src_unpack() { # Automaticaly use kgcc in the main Makefile on sparc32+gcc3 machines. mv Makefile Makefile.orig - sed 's/^CC.*= $(CROSS_COMPILE)gcc/CC = $(CROSS_COMPILE)$(shell [ "`arch`" = "sparc" -a "`gcc -dumpversion`" != "2.95.3" ] \&\& echo kgcc || echo gcc)/' <Makefile.orig >Makefile + sed 's/^CC.*= $(CROSS_COMPILE)gcc/CC = $(CROSS_COMPILE)$(shell [ "$ARCH" = "sparc" -a "`gcc -dumpversion`" != "2.95.3" ] \&\& echo kgcc || echo gcc)/' <Makefile.orig >Makefile rm Makefile.orig } |