summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/ppc-sources-benh/ppc-sources-benh-2.4.20-r5.ebuild')
-rw-r--r--sys-kernel/ppc-sources-benh/ppc-sources-benh-2.4.20-r5.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys-kernel/ppc-sources-benh/ppc-sources-benh-2.4.20-r5.ebuild b/sys-kernel/ppc-sources-benh/ppc-sources-benh-2.4.20-r5.ebuild
index d881bb2ae755..6bf45e780192 100644
--- a/sys-kernel/ppc-sources-benh/ppc-sources-benh-2.4.20-r5.ebuild
+++ b/sys-kernel/ppc-sources-benh/ppc-sources-benh-2.4.20-r5.ebuild
@@ -1,12 +1,14 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-sources-benh/ppc-sources-benh-2.4.20-r5.ebuild,v 1.1 2003/02/04 21:53:33 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/ppc-sources-benh/ppc-sources-benh-2.4.20-r5.ebuild,v 1.2 2003/02/04 22:53:07 gerk Exp $
IUSE=""
+inherit kernel
+
# OKV=original kernel version, KV=patched kernel version. They can be the same.
-MY_R="`echo $PR | sed "s:r:ben:g"`"
+MY_R=`echo $PR | sed "s:r:ben:g"`
DESCRIPTION="PowerPC kernel tree based on benh's patches, -r corresponds to ben{r} versioning"
SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2
http://www.kernel.org/pub/linux/kernel/people/benh/patch-${OKV}-${MY_R}.bz2"
@@ -20,7 +22,7 @@ src_unpack() {
cd ${PF}
patch -p1 < ${WORKDIR}/patch-2.4.20-${MY_R} || die "patch failed"
- [ `use xfs` ] && ewarn "XFS is no longer included!"
+ use xfs && ( ewarn "XFS is no longer included!" )
}
src_install() {