summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/klibc/klibc-1.2.1-r2.ebuild')
-rw-r--r--dev-libs/klibc/klibc-1.2.1-r2.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-libs/klibc/klibc-1.2.1-r2.ebuild b/dev-libs/klibc/klibc-1.2.1-r2.ebuild
index 89fab32a4dcd..5a8a9380e907 100644
--- a/dev-libs/klibc/klibc-1.2.1-r2.ebuild
+++ b/dev-libs/klibc/klibc-1.2.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/klibc/klibc-1.2.1-r2.ebuild,v 1.1 2006/07/07 13:34:05 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/klibc/klibc-1.2.1-r2.ebuild,v 1.2 2006/07/09 16:19:49 azarah Exp $
inherit eutils linux-info multilib
@@ -74,7 +74,8 @@ src_unpack() {
die "Could not guess klibc's ARCH from your CTARGET!"
fi
- kernel_arch=$(readlink "${KV_OUT_DIR}/include/asm" | sed -e 's:asm-::')
+ kernel_arch=$(readlink "${KV_OUT_DIR}/include/asm" | sed -e 's:asm-::' | \
+ sed -e 's/powerpc/ppc/')
if [[ ${kernel_arch} != $(guess_arch) ]] ; then
echo
eerror "Your kernel sources are not configured for your chosen arch!"