summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2004-02-24 16:26:35 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2004-02-24 16:26:35 +0000
commitaa94a50ee07fc0911a016ddbfd22284fecdb85f1 (patch)
tree6b1ac2d932d51fa3e021dff4fc1246c58338d480 /x11-base/kdrive
parentKEYWORDS+=~sparc (diff)
downloadhistorical-aa94a50ee07fc0911a016ddbfd22284fecdb85f1.tar.gz
historical-aa94a50ee07fc0911a016ddbfd22284fecdb85f1.tar.bz2
historical-aa94a50ee07fc0911a016ddbfd22284fecdb85f1.zip
Change is_kernel check so it defaults to running kernel if /usr/src/linux doesn't exist so it works on LiveCD.
Diffstat (limited to 'x11-base/kdrive')
-rw-r--r--x11-base/kdrive/ChangeLog6
-rw-r--r--x11-base/kdrive/Manifest4
-rw-r--r--x11-base/kdrive/kdrive-4.3.0-r1.ebuild10
3 files changed, 14 insertions, 6 deletions
diff --git a/x11-base/kdrive/ChangeLog b/x11-base/kdrive/ChangeLog
index 9d411b5a13b6..880b448dc84a 100644
--- a/x11-base/kdrive/ChangeLog
+++ b/x11-base/kdrive/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-base/kdrive
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/kdrive/ChangeLog,v 1.12 2004/02/16 01:32:24 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/kdrive/ChangeLog,v 1.13 2004/02/24 16:26:35 spyderous Exp $
+
+ 24 Feb 2004; Donnie Berkholz <spyderous@gentoo.org>; kdrive-4.3.0-r1.ebuild:
+ Change is_kernel check so it defaults to running kernel if /usr/src/linux
+ doesn't exist so it works on LiveCD.
15 Feb 2004; Donnie Berkholz <spyderous@gentoo.org>; kdrive-4.3.0.ebuild:
Pulling old stable version, there's a newer one.
diff --git a/x11-base/kdrive/Manifest b/x11-base/kdrive/Manifest
index 1d6d486d782b..3b255ae3246b 100644
--- a/x11-base/kdrive/Manifest
+++ b/x11-base/kdrive/Manifest
@@ -1,6 +1,6 @@
-MD5 f236d06c373380edecdafe7f5e8af0f8 ChangeLog 2484
-MD5 359f158122c1fd4017869a2aede6f75d kdrive-4.3.0-r1.ebuild 7770
+MD5 01fa9c9ebff38133edc1c68fb6c60f27 ChangeLog 2679
MD5 a1c3090581323032b75d0416d74ced9e metadata.xml 251
+MD5 eff3ab94b022fdc1d018a525b2410cb4 kdrive-4.3.0-r1.ebuild 7870
MD5 7e8e89a2ab5b338c1184ebd3426dcb14 kdrive-4.3.0-r4.ebuild 10503
MD5 4722092beea0eb065c87c753070bc74b files/digest-kdrive-4.3.0-r1 254
MD5 a6e0af618cce0a49bbda2a83d4704b53 files/digest-kdrive-4.3.0-r4 254
diff --git a/x11-base/kdrive/kdrive-4.3.0-r1.ebuild b/x11-base/kdrive/kdrive-4.3.0-r1.ebuild
index 21706efd9ad4..f6d87fde73a7 100644
--- a/x11-base/kdrive/kdrive-4.3.0-r1.ebuild
+++ b/x11-base/kdrive/kdrive-4.3.0-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/kdrive/kdrive-4.3.0-r1.ebuild,v 1.2 2003/10/13 03:42:42 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/kdrive/kdrive-4.3.0-r1.ebuild,v 1.3 2004/02/24 16:26:35 spyderous Exp $
# If you don't want to build the Xvesa server, do this.
# VESA="no" emerge kdrive
@@ -134,8 +134,12 @@ src_unpack() {
fi
fi
- is_kernel "2" "2" && \
+ if ( [ -e "/usr/src/linux" ] && \
+ [ ! `is_kernel "2" "2"` ] ) || \
+ [ "`uname -r | cut -d. -f1,2`" != "2.2" ]
+ then
echo "#define HasLinuxInput YES" >> config/cf/host.def
+ fi
echo "#define OptimizedCDebugFlags ${CFLAGS}" >> config/cf/host.def
echo "#define OptimizedCplusplusDebugFlags ${CXXFLAGS}" >> config/cf/host.def