From db812b5e35406aad7d576b6b204358e153469040 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 16 Mar 2004 17:14:29 +0000 Subject: try to fix 2.4 kernel support #44569 --- app-cdr/cdemu/cdemu-0.6_beta.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'app-cdr/cdemu') 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() { -- cgit v1.2.3-65-gdbad