diff options
Diffstat (limited to 'Library/Formula/pkg-config.rb')
| -rw-r--r-- | Library/Formula/pkg-config.rb | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/Library/Formula/pkg-config.rb b/Library/Formula/pkg-config.rb index ffc8d0374..f60ee807b 100644 --- a/Library/Formula/pkg-config.rb +++ b/Library/Formula/pkg-config.rb @@ -2,17 +2,12 @@ require 'formula' class PkgConfig < Formula homepage 'http://pkgconfig.freedesktop.org' + url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.27.tar.gz' + sha256 '79a6b43ee6633c9e6cc03eb1706370bb7a8450659845b782411f969eaba656a4' - # yes we know pkg-config 0.26 is now out, however it depends on glib - # this is totally ridiculous dependency and we refuse to upgrade until - # someone can prove we must. - url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.25.tar.gz' - md5 'a3270bab3f4b69b7dc6dbdacbcae9745' + depends_on 'gettext' def install - # fixes compile error on Lion with Clang duplicate symbols in libglib - ENV.append_to_cflags '-std=gnu89' if ENV.compiler == :clang - paths = %W[ #{HOMEBREW_PREFIX}/lib/pkgconfig #{HOMEBREW_PREFIX}/share/pkgconfig @@ -21,7 +16,8 @@ class PkgConfig < Formula ].uniq system "./configure", "--disable-debug", "--prefix=#{prefix}", - "--with-pc-path=#{paths*':'}" + "--with-pc-path=#{paths*':'}", + "--with-internal-glib" system "make" system "make check" system "make install" |
