summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny van Dyk <kugelfang@gentoo.org>2004-09-15 23:10:21 +0000
committerDanny van Dyk <kugelfang@gentoo.org>2004-09-15 23:10:21 +0000
commit8c10135d6ba708afdf1cd267b845ae9007dbd9c5 (patch)
tree19825e28995b8b249544648382b351eec2bc99ed /eclass/font.eclass
parentcleanup (diff)
downloadhistorical-8c10135d6ba708afdf1cd267b845ae9007dbd9c5.tar.gz
historical-8c10135d6ba708afdf1cd267b845ae9007dbd9c5.tar.bz2
historical-8c10135d6ba708afdf1cd267b845ae9007dbd9c5.zip
Using eutils:get_libdir() now instead of hardcoded [/usr][/...]/lib
Diffstat (limited to 'eclass/font.eclass')
-rw-r--r--eclass/font.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass
index 7f461cb68948..d07bbc45c63e 100644
--- a/eclass/font.eclass
+++ b/eclass/font.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.6 2004/06/27 18:42:40 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.7 2004/09/15 23:10:21 kugelfang Exp $
# Author: foser <foser@gentoo.org>
@@ -8,6 +8,8 @@
#
# Eclass to make font installation more uniform
+inherit eutils
+
ECLASS="font"
INHERITED="$INHERITED $ECLASS"
@@ -41,7 +43,7 @@ font_xfont_config() {
mkfontdir \
-e /usr/share/fonts/encodings \
-e /usr/share/fonts/encodings/large \
- -e /usr/X11R6/lib/X11/fonts/encodings \
+ -e /usr/X11R6/$(get_libdir)/X11/fonts/encodings \
${D}/usr/share/fonts/${PN}
if [ -e ${FONT_S}/fonts.alias ] ;
then