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
commit2257b4f023b169b200fb1e08ff5b37cb0c2f3275 (patch)
tree18fd6fe519a1014485831ff0fc7306b8a80d85d8 /sys-libs/libkudzu/libkudzu-1.2.57.1.ebuild
parentamd64 stable (diff)
downloadgentoo-2-2257b4f023b169b200fb1e08ff5b37cb0c2f3275.tar.gz
gentoo-2-2257b4f023b169b200fb1e08ff5b37cb0c2f3275.tar.bz2
gentoo-2-2257b4f023b169b200fb1e08ff5b37cb0c2f3275.zip
Added a patch from Andrew Gaffney <agaffney@gentoo.org> and Brent Baude <ranger@gentoo.org> for PowerPC.
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-libs/libkudzu/libkudzu-1.2.57.1.ebuild')
-rw-r--r--sys-libs/libkudzu/libkudzu-1.2.57.1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-libs/libkudzu/libkudzu-1.2.57.1.ebuild b/sys-libs/libkudzu/libkudzu-1.2.57.1.ebuild
index 8f97733e4ed6..f73b31fc6aa4 100644
--- a/sys-libs/libkudzu/libkudzu-1.2.57.1.ebuild
+++ b/sys-libs/libkudzu/libkudzu-1.2.57.1.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.2.57.1.ebuild,v 1.9 2007/10/15 15:00:03 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libkudzu/libkudzu-1.2.57.1.ebuild,v 1.10 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 libkudzu_loader.a ARCH="ppc" \
RPM_OPT_FLAGS="${CFLAGS}" || die
else