summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2008-02-29 01:34:03 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2008-02-29 01:34:03 +0000
commit45e2f70ee7bcb4eeaf9c9577b6043de54c394b03 (patch)
tree202f6002771cd09591eec44e7f8720cddf1a9b76 /sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild
parentamd64 stable (diff)
downloadhistorical-45e2f70ee7bcb4eeaf9c9577b6043de54c394b03.tar.gz
historical-45e2f70ee7bcb4eeaf9c9577b6043de54c394b03.tar.bz2
historical-45e2f70ee7bcb4eeaf9c9577b6043de54c394b03.zip
Added a patch from Andrew Gaffney <agaffney@gentoo.org> and Brent Baude <ranger@gentoo.org> for PowerPC.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild')
-rw-r--r--sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild b/sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild
index d22f43b9ed42..6341b775d85d 100644
--- a/sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild
+++ b/sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild,v 1.19 2007/08/14 21:27:56 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libkudzu/libkudzu-1.1.62-r1.ebuild,v 1.20 2008/02/29 01:34:03 wolf31o2 Exp $
inherit eutils toolchain-funcs flag-o-matic
@@ -41,7 +41,7 @@ src_compile() {
# Fix the modules directory to match Gentoo layout.
perl -pi -e 's|/etc/modutils/kudzu|/etc/modules.d/kudzu|g' *.*
- if [ $(tc-arch-kernel) == "powerpc" ]; then
+ if use ppc && [ "$(tc-arch-kernel)" != "ppc" ]; then
emake libkudzu.a ARCH="ppc" RPM_OPT_FLAGS="${CFLAGS}" || die
else
emake libkudzu.a ARCH=$(tc-arch-kernel) RPM_OPT_FLAGS="${CFLAGS}" || die