Keg-only fontconfig for Leopard.
Leopard provides fontconfig 2.4.x, but advertises it in the .pc file as 2.6.0. This causes problems, so we provide a keg-only formula for this.
This commit is contained in:
parent
689958a681
commit
e07c6dba29
1 changed files with 17 additions and 0 deletions
17
Formula/fontconfig.rb
Normal file
17
Formula/fontconfig.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
require 'formula'
|
||||
|
||||
class Fontconfig <Formula
|
||||
url 'http://fontconfig.org/release/fontconfig-2.8.0.tar.gz'
|
||||
homepage 'http://fontconfig.org/'
|
||||
md5 '77e15a92006ddc2adbb06f840d591c0e'
|
||||
|
||||
# Leopard comes with 2.4.x, which is too old for many packages.
|
||||
def keg_only?
|
||||
:provided_by_osx
|
||||
end
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue