From: Mamoru Komachi Date: Wed, 6 Oct 2004 14:00:39 +0000 (+0000) Subject: s,/usr/bin/fc-cache,fc-cache, to support Mac OS X. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8585c7066829090481f424c89eb84bae3d6fd01e;p=gentoo.git s,/usr/bin/fc-cache,fc-cache, to support Mac OS X. --- 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 @@ -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}" }