summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-02-06 12:14:08 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-02-06 12:14:08 +0000
commit188a3d23288dbb24047d405581ecb65fe6676c35 (patch)
treea5ea7ca3c3b4b0e4de162ab4bc6eb16904bb9b68
parentClosing #40303. (Manifest recommit) (diff)
downloadgentoo-2-188a3d23288dbb24047d405581ecb65fe6676c35.tar.gz
gentoo-2-188a3d23288dbb24047d405581ecb65fe6676c35.tar.bz2
gentoo-2-188a3d23288dbb24047d405581ecb65fe6676c35.zip
Added error message to pkg_setup that this module only works with 2.4.x kernels.
-rw-r--r--media-sound/emu10k1/ChangeLog7
-rw-r--r--media-sound/emu10k1/Manifest4
-rw-r--r--media-sound/emu10k1/emu10k1-0.20a-r5.ebuild10
3 files changed, 15 insertions, 6 deletions
diff --git a/media-sound/emu10k1/ChangeLog b/media-sound/emu10k1/ChangeLog
index 9347a30dfe1d..2677f14a345c 100644
--- a/media-sound/emu10k1/ChangeLog
+++ b/media-sound/emu10k1/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/emu10k1
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/emu10k1/ChangeLog,v 1.13 2004/02/05 07:44:07 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/emu10k1/ChangeLog,v 1.14 2004/02/06 12:14:01 eradicator Exp $
+
+ 06 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ emu10k1-0.20a-r5.ebuild:
+ Added error message to pkg_setup that this module only works with 2.4.x
+ kernels.
04 Feb 2004; Jeremy Huddleston <eradicator@gentoo.org>
emu10k1-0.20a-r5.ebuild:
diff --git a/media-sound/emu10k1/Manifest b/media-sound/emu10k1/Manifest
index 0c4133a6e4f2..bd0dc7ed4601 100644
--- a/media-sound/emu10k1/Manifest
+++ b/media-sound/emu10k1/Manifest
@@ -1,5 +1,5 @@
-MD5 0290c1e0fca99343b57d8bcd80a5850e emu10k1-0.20a-r5.ebuild 3733
-MD5 6a64a9e087b07433a68d2e455c1bbb42 ChangeLog 2258
+MD5 8e75f3891c10cb9331b5f2f8380b31c7 emu10k1-0.20a-r5.ebuild 3859
+MD5 d7d1d5f634ae32f1c34cb773028f993b ChangeLog 2428
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
MD5 cc1b5b194b1ed9e8f12c0ef441bd4958 files/README.gentoo 3591
MD5 c4fa14eb5b5e9ec060dc4becba91168d files/digest-emu10k1-0.20a-r5 67
diff --git a/media-sound/emu10k1/emu10k1-0.20a-r5.ebuild b/media-sound/emu10k1/emu10k1-0.20a-r5.ebuild
index c2b9b3940371..1bdcfc7d9783 100644
--- a/media-sound/emu10k1/emu10k1-0.20a-r5.ebuild
+++ b/media-sound/emu10k1/emu10k1-0.20a-r5.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/emu10k1/emu10k1-0.20a-r5.ebuild,v 1.4 2004/02/05 07:44:07 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/emu10k1/emu10k1-0.20a-r5.ebuild,v 1.5 2004/02/06 12:14:01 eradicator Exp $
+
+inherit kernel-mod
MY_P="${P/-/-v}"
DESCRIPTION="Drivers, utilities, and effects for Sound Blaster cards (SBLive!, SB512, Audigy)"
@@ -19,6 +21,8 @@ S="${WORKDIR}/${MY_P}"
pkg_setup() {
[ -z "$KV" ] && die "Couldn't detect kernel version. Does /usr/src/linux exist?"
+ kernel-mod_is_2_4_kernel || die "This module is only compatible with 2.4.x kernels."
+
return 0
}
@@ -35,8 +39,8 @@ src_compile() {
echo "MODVERSIONS := y" >> config
echo "DBGEMU := n" >> config
- # Unset ARCH to prevent conflict. See bug #40424
- unset ARCH
+ # Unset ARCH to prevent conflict with 2.6 kernels. See bug #40424
+ # unset ARCH
export KERNEL_SOURCE=/usr/src/linux
make || die "make failed"