diff options
author | Danny van Dyk <kugelfang@gentoo.org> | 2004-09-15 23:10:21 +0000 |
---|---|---|
committer | Danny van Dyk <kugelfang@gentoo.org> | 2004-09-15 23:10:21 +0000 |
commit | 8c10135d6ba708afdf1cd267b845ae9007dbd9c5 (patch) | |
tree | 19825e28995b8b249544648382b351eec2bc99ed /eclass/matrox.eclass | |
parent | cleanup (diff) | |
download | historical-8c10135d6ba708afdf1cd267b845ae9007dbd9c5.tar.gz historical-8c10135d6ba708afdf1cd267b845ae9007dbd9c5.tar.bz2 historical-8c10135d6ba708afdf1cd267b845ae9007dbd9c5.zip |
Using eutils:get_libdir() now instead of hardcoded [/usr][/...]/lib
Diffstat (limited to 'eclass/matrox.eclass')
-rw-r--r-- | eclass/matrox.eclass | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/matrox.eclass b/eclass/matrox.eclass index 1c9665d782a5..1f611b52cb64 100644 --- a/eclass/matrox.eclass +++ b/eclass/matrox.eclass @@ -1,12 +1,14 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/matrox.eclass,v 1.5 2004/06/25 00:39:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/matrox.eclass,v 1.6 2004/09/15 23:10:21 kugelfang Exp $ # # Author: Donnie Berkholz <spyderous@gentoo.org> # # This eclass is designed to reduce code duplication in the mtxdrivers* ebuilds. # The only addition to mtxdrivers-pro is OpenGL stuff. +inherit eutils + ECLASS="matrox" INHERITED="${INHERITED} ${ECLASS}" @@ -77,11 +79,11 @@ matrox_src_compile() { matrox_base_src_install() { # Kernel Module - dodir /lib/modules/${KV}/kernel/drivers/video; insinto /lib/modules/${KV}/kernel/drivers/video + dodir /$(get_libdir)/modules/${KV}/kernel/drivers/video; insinto /$(get_libdir)/modules/${KV}/kernel/drivers/video doins src/kernel/mtx.o # X Driver (2D) - dodir /usr/X11R6/lib/modules/drivers; insinto /usr/X11R6/lib/modules/drivers + dodir /usr/X11R6/$(get_libdir)/modules/drivers; insinto /usr/X11R6/$(get_libdir)/modules/drivers doins xfree86/${GENTOO_X_VERSION}/mtx_drv.o } |