[43721] trunk/dports/graphics/fontconfig/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sat Dec 13 17:34:12 PST 2008
Revision: 43721
http://trac.macports.org/changeset/43721
Author: jeremyhu at macports.org
Date: 2008-12-13 17:34:12 -0800 (Sat, 13 Dec 2008)
Log Message:
-----------
fontconfig: Avoid "false" failures of fc-cache when "Network is down", generate both system-wide caches as well as user caches, use fonts.conf for deciding which directories to cache.
Modified Paths:
--------------
trunk/dports/graphics/fontconfig/Portfile
Modified: trunk/dports/graphics/fontconfig/Portfile
===================================================================
--- trunk/dports/graphics/fontconfig/Portfile 2008-12-14 01:30:54 UTC (rev 43720)
+++ trunk/dports/graphics/fontconfig/Portfile 2008-12-14 01:34:12 UTC (rev 43721)
@@ -4,6 +4,7 @@
name fontconfig
version 2.6.0
+revision 1
categories graphics
maintainers ryandesign
homepage http://fontconfig.org/
@@ -54,7 +55,9 @@
}
post-activate {
- system "${prefix}/bin/fc-cache -fv /usr/share/fonts [join ${add_fonts}]"
+ # fc-cache can "fail" due to /Network/Library/Fonts being "down", so force succcess
+ system "${prefix}/bin/fc-cache -frsv || true"
+ system "${prefix}/bin/fc-cache -frv || true"
}
variant doc description {Install extra documentation} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081213/b24a2fa7/attachment.html>
More information about the macports-changes
mailing list