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
commitecbfbcf2f1090b548bfe14d04dca020d22a02851 (patch)
tree75fb409c03f91962a631e500c58d521f458a3010 /media-video/mtxdrivers
parentDependancy fixes for kernel sources, and change to selinux-base-policy rather... (diff)
downloadhistorical-ecbfbcf2f1090b548bfe14d04dca020d22a02851.tar.gz
historical-ecbfbcf2f1090b548bfe14d04dca020d22a02851.tar.bz2
historical-ecbfbcf2f1090b548bfe14d04dca020d22a02851.zip
modified the hack to work with a env var instead of a useflag
Diffstat (limited to 'media-video/mtxdrivers')
-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"
}