summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Nelson <jnelson@gentoo.org>2002-05-08 05:33:47 +0000
committerJon Nelson <jnelson@gentoo.org>2002-05-08 05:33:47 +0000
commita4e53d23b4ae224bdb3d3da2cd88c2e4d7c4762d (patch)
tree2a5667e91aaf75369c1d6419ce3dcf62a07f29d0 /media-video/nvidia-kernel
parentadd portage 1.9.10 (diff)
downloadhistorical-a4e53d23b4ae224bdb3d3da2cd88c2e4d7c4762d.tar.gz
historical-a4e53d23b4ae224bdb3d3da2cd88c2e4d7c4762d.tar.bz2
historical-a4e53d23b4ae224bdb3d3da2cd88c2e4d7c4762d.zip
use check_KV
Diffstat (limited to 'media-video/nvidia-kernel')
-rw-r--r--media-video/nvidia-kernel/nvidia-kernel-1.0.2880-r1.ebuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/media-video/nvidia-kernel/nvidia-kernel-1.0.2880-r1.ebuild b/media-video/nvidia-kernel/nvidia-kernel-1.0.2880-r1.ebuild
index 74a27843b8f5..19a75222446b 100644
--- a/media-video/nvidia-kernel/nvidia-kernel-1.0.2880-r1.ebuild
+++ b/media-video/nvidia-kernel/nvidia-kernel-1.0.2880-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Martin Schlemmer <azarah@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-kernel/nvidia-kernel-1.0.2880-r1.ebuild,v 1.4 2002/05/08 05:00:56 jnelson Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-kernel/nvidia-kernel-1.0.2880-r1.ebuild,v 1.5 2002/05/08 05:33:47 jnelson Exp $
DESCRIPTION="Linux kernel module for the NVIDIA's X driver"
HOMEPAGE="http://www.nvidia.com/"
@@ -22,14 +22,7 @@ RESTRICT="nostrip"
src_compile() {
# Portage should determine the version of the kernel sources
- if [ x"${KV}" = x ]
- then
- eerror ""
- eerror "Could not determine you kernel version."
- eerror "Make sure that you have /usr/src/linux symlink."
- eerror ""
- die
- fi
+ check_KV
make KERNDIR="/usr/src/linux" \
clean NVdriver || die
}