summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2003-02-09 02:00:03 +0000
committerGuy Martin <gmsoft@gentoo.org>2003-02-09 02:00:03 +0000
commit5a93e59ae3eb586079232c6fcd54ef16995398ab (patch)
treed34532e32e791e47f8bc317842cad4d6a750479f /sys-apps
parentAdded hppa to keywords. (diff)
downloadhistorical-5a93e59ae3eb586079232c6fcd54ef16995398ab.tar.gz
historical-5a93e59ae3eb586079232c6fcd54ef16995398ab.tar.bz2
historical-5a93e59ae3eb586079232c6fcd54ef16995398ab.zip
Patched for hppa and added hppa to keywords.
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/modutils/ChangeLog6
-rw-r--r--sys-apps/modutils/modutils-2.4.22.ebuild18
2 files changed, 18 insertions, 6 deletions
diff --git a/sys-apps/modutils/ChangeLog b/sys-apps/modutils/ChangeLog
index 9656ca048716..e044d020c961 100644
--- a/sys-apps/modutils/ChangeLog
+++ b/sys-apps/modutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/modutils
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/modutils/ChangeLog,v 1.13 2003/01/19 19:59:14 tuxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/modutils/ChangeLog,v 1.14 2003/02/09 02:00:03 gmsoft Exp $
+
+ 09 Feb 2003; Guy Martin <gmsoft@gentoo.org> modutils-2.4.22.ebuild :
+ Patched for hppa.
+ Added hppa to keywords.
*modutils-2.4.22 (25 Nov 2002)
diff --git a/sys-apps/modutils/modutils-2.4.22.ebuild b/sys-apps/modutils/modutils-2.4.22.ebuild
index 15f5376241e2..18fb63d5d2c6 100644
--- a/sys-apps/modutils/modutils-2.4.22.ebuild
+++ b/sys-apps/modutils/modutils-2.4.22.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/modutils/modutils-2.4.22.ebuild,v 1.4 2003/01/09 08:50:25 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/modutils/modutils-2.4.22.ebuild,v 1.5 2003/02/09 02:00:03 gmsoft Exp $
inherit flag-o-matic
@@ -9,7 +9,7 @@ DESCRIPTION="Standard kernel module utilities"
SRC_URI="http://www.kernel.org/pub/linux/utils/kernel/${PN}/v2.4/${P}.tar.bz2"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/modutils/"
-KEYWORDS="x86 ppc sparc alpha"
+KEYWORDS="x86 ppc sparc alpha hppa"
SLOT="0"
LICENSE="GPL-2"
@@ -31,12 +31,20 @@ src_compile() {
--disable-strip \
--enable-insmod-static \
${myconf} || die "./configure failed"
-
- emake || die "emake failed"
+ if [ ${ARCH} = "hppa" ]
+ then
+ mymake="ARCH=hppa"
+ fi
+
+ emake ${mymake} || die "emake failed"
}
src_install() {
- einstall prefix="${D}" || die "make install failed"
+ if [ ${ARCH} = "hppa" ]
+ then
+ mymake="ARCH=hppa"
+ fi
+ einstall prefix="${D}" ${mymake} || die "make install failed"
dodoc COPYING CREDITS ChangeLog NEWS README TODO
}