summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Birchinger <joker@gentoo.org>2003-03-02 15:37:42 +0000
committerChristian Birchinger <joker@gentoo.org>2003-03-02 15:37:42 +0000
commit4b15734652adba3f6676981d706b86ff1a0c3d57 (patch)
tree2020ff29b64aa7a0bf843757e9646d9c143e99ce /sys-kernel
parentAdded sparc-sources-2.4.20-r4 with better kgcc detection for sparc32 machines. (diff)
downloadgentoo-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.ebuild4
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
}