summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-03-18 04:20:58 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-03-18 04:20:58 +0000
commitd72ea5650ef125c1192c639bbcbc3831296cea92 (patch)
tree3fbb6144fb4302762167308df5d3bbf1174c021f
parentcleaned out crusty ebuilds (diff)
downloadgentoo-2-d72ea5650ef125c1192c639bbcbc3831296cea92.tar.gz
gentoo-2-d72ea5650ef125c1192c639bbcbc3831296cea92.tar.bz2
gentoo-2-d72ea5650ef125c1192c639bbcbc3831296cea92.zip
installs to running kernel, instead of /usr/src/linux symlink'd kernel
-rw-r--r--x11-base/xfree-drm/ChangeLog6
-rw-r--r--x11-base/xfree-drm/xfree-drm-4.3.0.ebuild19
2 files changed, 10 insertions, 15 deletions
diff --git a/x11-base/xfree-drm/ChangeLog b/x11-base/xfree-drm/ChangeLog
index cb4b93875e9e..07734ff72a11 100644
--- a/x11-base/xfree-drm/ChangeLog
+++ b/x11-base/xfree-drm/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for x11-base/xfree-drm
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/ChangeLog,v 1.11 2003/03/15 20:12:05 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/ChangeLog,v 1.12 2003/03/18 04:20:58 seemant Exp $
*xfree-drm-4.3.0-r1 (02 Mar 2003)
@@ -12,6 +12,10 @@
*xfree-drm-4.3.0 (28 Feb 2003)
+ 17 Mar 2003; Seemant Kulleen <seemant@gentoo.org> xfree-drm-4.3.0.ebuild:
+ use KVERS which gets running kernel's version, instead of KV. Closes bug
+ #17545 by Sankara Krishnamoorthy <snkmoorthy@netscape.net>
+
05 Mar 2003; Seemant Kulleen <seemant@gentoo.org> xfree-drm-4.3.0.ebuild:
using USE variables to determine which specific modules to install
diff --git a/x11-base/xfree-drm/xfree-drm-4.3.0.ebuild b/x11-base/xfree-drm/xfree-drm-4.3.0.ebuild
index 214a21fba2c8..8b047439e6ff 100644
--- a/x11-base/xfree-drm/xfree-drm-4.3.0.ebuild
+++ b/x11-base/xfree-drm/xfree-drm-4.3.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/xfree-drm-4.3.0.ebuild,v 1.2 2003/03/05 08:07:30 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/xfree-drm-4.3.0.ebuild,v 1.3 2003/03/18 04:20:58 seemant Exp $
# Small note: we should prob consider using a DRM only tarball, as it will ease
# some of the overhead on older systems, and will enable us to
@@ -15,10 +15,6 @@ inherit eutils
DEBUG="yes"
RESTRICT="nostrip"
-# Are we using a snapshot ?
-USE_SNAPSHOT="yes"
-
-BASE_PV="${PV}"
S=${WORKDIR}/linux/drm/kernel
DESCRIPTION="Xfree86 Kernel DRM modules"
HOMEPAGE="http://www.xfree.org"
@@ -61,10 +57,6 @@ else
VIDCARDS=""
fi
-pkg_setup() {
- check_KV
-}
-
src_unpack() {
unpack ${A}
cd ${S}
@@ -74,16 +66,15 @@ src_unpack() {
src_compile() {
- check_KV
ln -sf Makefile.linux Makefile
einfo "Building DRM..."
if [ -z "${VIDCARDS}" ]
then
make \
- TREE="/usr/src/linux/include" KV="${KV}"
+ TREE="/usr/src/linux/include" KV="${KVERS}"
else
make ${VIDCARDS} \
- TREE="/usr/src/linux/include" KV="${KV}"
+ TREE="/usr/src/linux/include" KV="${KVERS}"
fi
}
@@ -94,13 +85,13 @@ src_install() {
then
make \
TREE="/usr/src/linux/include" \
- KV="${KV}" \
+ KV="${KVERS}" \
DESTDIR="${D}" \
install || die
else
make \
TREE="/usr/src/linux/include" \
- KV="${KV}" \
+ KV="${KVERS}" \
DESTDIR="${D}" \
MODS="${VIDCARDS}" \
install || die