diff options
author | 2004-09-15 23:10:21 +0000 | |
---|---|---|
committer | 2004-09-15 23:10:21 +0000 | |
commit | 96f2b25a9629be48a0289bf49c3acd1de446626c (patch) | |
tree | f5916033c9b0bd9d3ca6709cfa1d39d7afc7b07a /eclass/font.eclass | |
parent | cleanup (diff) | |
download | gentoo-2-96f2b25a9629be48a0289bf49c3acd1de446626c.tar.gz gentoo-2-96f2b25a9629be48a0289bf49c3acd1de446626c.tar.bz2 gentoo-2-96f2b25a9629be48a0289bf49c3acd1de446626c.zip |
Using eutils:get_libdir() now instead of hardcoded [/usr][/...]/lib
Diffstat (limited to 'eclass/font.eclass')
-rw-r--r-- | eclass/font.eclass | 6 |
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 |