summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Stine <battousai@gentoo.org>2004-03-14 21:22:38 +0000
committerBryan Stine <battousai@gentoo.org>2004-03-14 21:22:38 +0000
commit59ac5bdfeda39b874cbeeea233b9bfa410f336c6 (patch)
tree71d7d92d430c229548b8f007edc04e8f08b14320 /x11-base
parentremoved ppc64 for now (diff)
downloadhistorical-59ac5bdfeda39b874cbeeea233b9bfa410f336c6.tar.gz
historical-59ac5bdfeda39b874cbeeea233b9bfa410f336c6.tar.bz2
historical-59ac5bdfeda39b874cbeeea233b9bfa410f336c6.zip
Changed location of installed kernel modules.
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xfree-drm/ChangeLog7
-rw-r--r--x11-base/xfree-drm/Manifest7
-rw-r--r--x11-base/xfree-drm/files/modules.d-xfree-drm3
-rw-r--r--x11-base/xfree-drm/xfree-drm-4.3.0-r7.ebuild9
4 files changed, 21 insertions, 5 deletions
diff --git a/x11-base/xfree-drm/ChangeLog b/x11-base/xfree-drm/ChangeLog
index c3efbe68a12d..290128bfb741 100644
--- a/x11-base/xfree-drm/ChangeLog
+++ b/x11-base/xfree-drm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-base/xfree-drm
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/ChangeLog,v 1.60 2004/03/09 23:42:32 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/ChangeLog,v 1.61 2004/03/14 21:22:38 battousai Exp $
+
+ 14 Mar 2004; Bryan Stine <battousai@gentoo.org> xfree-drm-4.3.0-r7.ebuild,
+ files/modules.d-xfree-drm:
+ Changed the location where modules get installed to /lib/modules/KV/xfree-drm.
+ Consequently, I added the modules.d template to files/.
09 Mar 2004; <agriffis@gentoo.org> xfree-drm-4.3.0-r7.ebuild:
stable on alpha and ia64
diff --git a/x11-base/xfree-drm/Manifest b/x11-base/xfree-drm/Manifest
index 29cb906b2171..38e64935eea3 100644
--- a/x11-base/xfree-drm/Manifest
+++ b/x11-base/xfree-drm/Manifest
@@ -1,8 +1,9 @@
-MD5 cd0b06404869599fa61bb7976be237a2 metadata.xml 476
+MD5 fd0f54e7b10029ae3deabd2926497330 xfree-drm-4.3.0-r7.ebuild 6959
MD5 801d884103d9af56d6b3abfb0b255113 xfree-drm-4.3.0-r2.ebuild 2648
MD5 8f3b4ed17144125be555186ac8c34e0a xfree-drm-4.3.0-r6.ebuild 5667
-MD5 415874824a2608e2f35812b2187fc876 ChangeLog 11706
-MD5 7060118a75b8f64cd1c408b07fba5ddb xfree-drm-4.3.0-r7.ebuild 6659
+MD5 251c3f37eb4fb7ac686efa210bc99843 ChangeLog 11953
+MD5 cd0b06404869599fa61bb7976be237a2 metadata.xml 476
MD5 b340ab262c964f235620a98d7626d6b9 files/digest-xfree-drm-4.3.0-r2 166
MD5 916b08e6047de0eeabce236b45a16b34 files/digest-xfree-drm-4.3.0-r6 169
MD5 db87006ec48bc9579dcdc989c5ed86d6 files/digest-xfree-drm-4.3.0-r7 363
+MD5 56daae7df692be235c4161bdc849ead3 files/modules.d-xfree-drm 50
diff --git a/x11-base/xfree-drm/files/modules.d-xfree-drm b/x11-base/xfree-drm/files/modules.d-xfree-drm
new file mode 100644
index 000000000000..b3ef9ec5327c
--- /dev/null
+++ b/x11-base/xfree-drm/files/modules.d-xfree-drm
@@ -0,0 +1,3 @@
+keep
+path[xfree-drm]=/lib/modules/%KV%/xfree-drm
+
diff --git a/x11-base/xfree-drm/xfree-drm-4.3.0-r7.ebuild b/x11-base/xfree-drm/xfree-drm-4.3.0-r7.ebuild
index db6e145ab4e6..8fbd26707f4c 100644
--- a/x11-base/xfree-drm/xfree-drm-4.3.0-r7.ebuild
+++ b/x11-base/xfree-drm/xfree-drm-4.3.0-r7.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/xfree-drm/xfree-drm-4.3.0-r7.ebuild,v 1.14 2004/03/09 23:42:32 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree-drm/xfree-drm-4.3.0-r7.ebuild,v 1.15 2004/03/14 21:22:38 battousai Exp $
IUSE="gatos"
IUSE_VIDEO_CARDS="3dfx gamma i810 i830 matrox rage128 radeon sis mach64"
@@ -105,6 +105,9 @@ src_unpack() {
# Apply patches
EPATCH_SUFFIX="patch" epatch ${PATCHDIR}
+
+ # Change the install location for the modules.d stuff
+ sed -ie "s:/kernel/drivers/char/drm:/xfree-drm:g" Makefile.linux
}
src_compile() {
@@ -137,6 +140,10 @@ src_install() {
# Strip binaries, leaving /lib/modules untouched (bug #24415)
strip_bins \/lib\/modules
fi
+
+ # Shamelessly stolen from the sys-apps/thinkpad ebuild. Thanks!
+ keepdir /etc/modules.d
+ sed 's/%KV%/'${KV}'/g' ${FILESDIR}/modules.d-xfree-drm > ${D}/etc/modules.d/xfree-drm
}
pkg_postinst() {