summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-10-06 14:00:39 +0000
committerMamoru Komachi <usata@gentoo.org>2004-10-06 14:00:39 +0000
commitaa1ccddd7b512b14bee4334c8a335a42f7ad9227 (patch)
tree59d12907e63efbf01bdcd0c7a834c361c9752f67 /eclass
parentchanges for boundschecking (diff)
downloadgentoo-2-aa1ccddd7b512b14bee4334c8a335a42f7ad9227.tar.gz
gentoo-2-aa1ccddd7b512b14bee4334c8a335a42f7ad9227.tar.bz2
gentoo-2-aa1ccddd7b512b14bee4334c8a335a42f7ad9227.zip
s,/usr/bin/fc-cache,fc-cache, to support Mac OS X.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/font.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass
index 2d00b26a3adf..e741f5f43b60 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.8 2004/10/03 13:00:32 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.9 2004/10/06 14:00:39 usata Exp $
# Author: foser <foser@gentoo.org>
@@ -57,7 +57,8 @@ font_xft_config() {
# create fontconfig cache
einfo "Creating fontconfig cache..."
- HOME="/root" /usr/bin/fc-cache -f "${D}/usr/share/fonts/${PN}"
+ # Mac OS X has fc-cache at /usr/X11R6/bin
+ HOME="/root" fc-cache -f "${D}/usr/share/fonts/${PN}"
}