diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/fontconfig.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Library/Formula/fontconfig.rb b/Library/Formula/fontconfig.rb index 26800e30f..3693e0014 100644 --- a/Library/Formula/fontconfig.rb +++ b/Library/Formula/fontconfig.rb @@ -22,8 +22,13 @@ class Fontconfig < Formula ENV.universal_binary if build.universal? system "./configure", "--disable-dependency-tracking", "--disable-silent-rules", - "--with-add-fonts=/Library/Fonts,~/Library/Fonts", - "--prefix=#{prefix}" + "--with-add-fonts=/System/Library/Fonts,/Library/Fonts,~/Library/Fonts", + "--prefix=#{prefix}", + "--localstatedir=#{var}" system "make install" end + + def post_install + system "#{bin}/fc-cache", "-frv" + end end |
