summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosch Pixa <darkspecter@gentoo.org>2003-04-20 02:43:20 +0000
committerBartosch Pixa <darkspecter@gentoo.org>2003-04-20 02:43:20 +0000
commite6ac21c344b9bdc60be5bff9b06b0cb9b11b8e1b (patch)
tree179c288cbd793730a5e937df118f6c470be67bab /media-video
parentDependancy fixes for kernel sources, and change to selinux-base-policy rather... (diff)
downloadgentoo-2-e6ac21c344b9bdc60be5bff9b06b0cb9b11b8e1b.tar.gz
gentoo-2-e6ac21c344b9bdc60be5bff9b06b0cb9b11b8e1b.tar.bz2
gentoo-2-e6ac21c344b9bdc60be5bff9b06b0cb9b11b8e1b.zip
modified the hack to work with a env var instead of a useflag
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mtxdrivers/ChangeLog5
-rw-r--r--media-video/mtxdrivers/mtxdrivers-0.2.1.ebuild9
2 files changed, 8 insertions, 6 deletions
diff --git a/media-video/mtxdrivers/ChangeLog b/media-video/mtxdrivers/ChangeLog
index 4ce10ce5db23..421bbb03226d 100644
--- a/media-video/mtxdrivers/ChangeLog
+++ b/media-video/mtxdrivers/ChangeLog
@@ -1,10 +1,13 @@
# ChangeLog for media-video/mtxdrivers
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mtxdrivers/ChangeLog,v 1.2 2003/04/20 02:29:13 darkspecter Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mtxdrivers/ChangeLog,v 1.3 2003/04/20 02:43:20 darkspecter Exp $
*mtxdrives-0.2.1 (19 Apr 2003)
20 Apr 2003; Bartosch Pixa <darkspecter@gentoo.org> mtxdrivers-0.2.1.ebuild :
+ changed rmaphack useflag to env var
+
+ 20 Apr 2003; Bartosch Pixa <darkspecter@gentoo.org> mtxdrivers-0.2.1.ebuild :
added hack to make the kernelmodule work with rmap enabled kernels
19 Apr 2003; Preston A. Elder <prez@gentoo.org> mtxdrivers-0.2.1.ebuild
diff --git a/media-video/mtxdrivers/mtxdrivers-0.2.1.ebuild b/media-video/mtxdrivers/mtxdrivers-0.2.1.ebuild
index 093506ec0830..d01923ceb725 100644
--- a/media-video/mtxdrivers/mtxdrivers-0.2.1.ebuild
+++ b/media-video/mtxdrivers/mtxdrivers-0.2.1.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/media-video/mtxdrivers/mtxdrivers-0.2.1.ebuild,v 1.6 2003/04/20 02:32:13 darkspecter Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mtxdrivers/mtxdrivers-0.2.1.ebuild,v 1.7 2003/04/20 02:43:20 darkspecter Exp $
RELEASE=2002
SRC_URI="ftp://ftp.matrox.com/pub/mga/archive/linux/${RELEASE}/${P/-/_}.tgz"
@@ -10,7 +10,6 @@ HOMEPAGE="http://www.matrox.com/mga/products/parhelia/home.cfm"
DEPEND=">=x11-base/xfree-4.1.0
virtual/kernel"
-IUSE="rmaphack"
SLOT="0"
LICENSE="Matrox"
KEYWORDS="x86"
@@ -26,7 +25,7 @@ src_compile() {
cd ${S}
# hack to make mtx.o compile with rmap enabled kernels
- if use rmaphack; then
+ if [ ${RMAPHACK} = "yes" ]; then
cp kernel/src/mtx_vm.c kernel/src/mtx_vm.c.orig
sed -e "s:pte_offset:pte_offset_kernel:g" kernel/src/mtx_vm.c.orig > kernel/src/mtx_vm.c
fi
@@ -71,6 +70,6 @@ pkg_postinst() {
echo
einfo "In case you have a kernel with rmap VM the mtx.o"
einfo "module needs a little hack to work. Remerge this"
- einfo "ebuild liek this:"
- einfo "USE=\"rmaphack\" emerge mtxdrivers"
+ einfo "ebuild like this:"
+ einfo "RMAPHACK=\"yes\" emerge mtxdrivers"
}