diff options
author | Andrew Bevitt <cyfred@gentoo.org> | 2004-06-12 07:47:37 +0000 |
---|---|---|
committer | Andrew Bevitt <cyfred@gentoo.org> | 2004-06-12 07:47:37 +0000 |
commit | 2bb7ba3d2132337da14c4d8c5885248eb5f891ce (patch) | |
tree | 88697f6bf021c9169d75437e58fe5796d045f831 /x11-base/kdrive/kdrive-4.3.0-r5.ebuild | |
parent | stablize (Manifest recommit) (diff) | |
download | gentoo-2-2bb7ba3d2132337da14c4d8c5885248eb5f891ce.tar.gz gentoo-2-2bb7ba3d2132337da14c4d8c5885248eb5f891ce.tar.bz2 gentoo-2-2bb7ba3d2132337da14c4d8c5885248eb5f891ce.zip |
Adding support for koutput in the kernel tree
Diffstat (limited to 'x11-base/kdrive/kdrive-4.3.0-r5.ebuild')
-rw-r--r-- | x11-base/kdrive/kdrive-4.3.0-r5.ebuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/x11-base/kdrive/kdrive-4.3.0-r5.ebuild b/x11-base/kdrive/kdrive-4.3.0-r5.ebuild index 3003448e4a24..163e35ec7eec 100644 --- a/x11-base/kdrive/kdrive-4.3.0-r5.ebuild +++ b/x11-base/kdrive/kdrive-4.3.0-r5.ebuild @@ -1,6 +1,6 @@ # 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-r5.ebuild,v 1.4 2004/06/02 02:54:45 spyderous Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/kdrive/kdrive-4.3.0-r5.ebuild,v 1.5 2004/06/12 07:47:37 cyfred Exp $ # If you don't want to build the Xvesa server, do this. # VESA="no" emerge kdrive @@ -13,7 +13,7 @@ IUSE="ipv6 xinerama fbdev speedo type1 cjk truetype freetype fs xv" # VIDEO_CARDS="savage trident sis530 trio ts300 mach64 i810 igs" -inherit eutils flag-o-matic gcc xfree +inherit eutils flag-o-matic gcc xfree kmod filter-flags "-funroll-loops" @@ -133,10 +133,8 @@ src_unpack() { fi fi - # Safe if /usr/src/linux doesn't exist - if ( [ -e "/usr/src/linux" ] && \ - [ ! `is_kernel "2" "2"` ] ) || \ - [ "`uname -r | cut -d. -f1,2`" != "2.2" ] + get_kernel_info + if [ "${KV_MAJOR}" -ge "2" -a "${KV_MINOR}" -ge "4" ] then echo "#define HasLinuxInput YES" >> config/cf/host.def fi |