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
commitdb812b5e35406aad7d576b6b204358e153469040 (patch)
treeef69c1e2d87f80103aa48b7bc50e2a0d62f74eaf /app-cdr/cdemu
parentFixing donnie@gentoo.org changelog entry. (Manifest recommit) (diff)
downloadgentoo-2-db812b5e35406aad7d576b6b204358e153469040.tar.gz
gentoo-2-db812b5e35406aad7d576b6b204358e153469040.tar.bz2
gentoo-2-db812b5e35406aad7d576b6b204358e153469040.zip
try to fix 2.4 kernel support #44569
Diffstat (limited to 'app-cdr/cdemu')
-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() {