summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-16 17:14:29 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-16 17:14:29 +0000
commit9551f3d5911314a87f16d7bc099565b3a5420f1f (patch)
tree12e57c0e5560b3bf1504e86b698e37caac9675e6
parentFixing donnie@gentoo.org changelog entry. (diff)
downloadhistorical-9551f3d5911314a87f16d7bc099565b3a5420f1f.tar.gz
historical-9551f3d5911314a87f16d7bc099565b3a5420f1f.tar.bz2
historical-9551f3d5911314a87f16d7bc099565b3a5420f1f.zip
try to fix 2.4 kernel support #44569
-rw-r--r--app-cdr/cdemu/cdemu-0.6_beta.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/app-cdr/cdemu/cdemu-0.6_beta.ebuild b/app-cdr/cdemu/cdemu-0.6_beta.ebuild
index 3246cc768e11..557167fc5e21 100644
--- a/app-cdr/cdemu/cdemu-0.6_beta.ebuild
+++ b/app-cdr/cdemu/cdemu-0.6_beta.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc., 2002-2003 Mike Frysinger
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/cdemu-0.6_beta.ebuild,v 1.3 2004/03/12 23:28:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemu/cdemu-0.6_beta.ebuild,v 1.4 2004/03/16 17:14:29 vapier Exp $
inherit gcc flag-o-matic python
@@ -16,7 +16,11 @@ DEPEND="virtual/kernel"
RDEPEND="dev-lang/python"
src_compile() {
- emake KERN_DIR=/usr/src/linux BUILD_GHETTO=yes || die
+ if [ "${KV:0:3}" == "2.6" ] ; then
+ emake KERN_DIR=/usr/src/linux BUILD_GHETTO=yes || die
+ else
+ emake KERN_DIR=/usr/src/linux || die
+ fi
}
src_install() {