summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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() {