diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/glib.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/glib.rb b/Library/Formula/glib.rb index 1483df88a..640b5b110 100644 --- a/Library/Formula/glib.rb +++ b/Library/Formula/glib.rb @@ -7,7 +7,6 @@ class Glib < Formula url 'ftp://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.8.tar.bz2' sha256 '222f3055d6c413417b50901008c654865e5a311c73f0ae918b0a9978d1f9466f' - depends_on 'pkg-config' => :build depends_on 'gettext' fails_with_llvm "Undefined symbol errors while linking" unless MacOS.lion? @@ -61,6 +60,11 @@ class Glib < Formula system "autoconf" end + # hack so that we don't have to depend on pkg-config + # http://permalink.gmane.org/gmane.comp.package-management.pkg-config/627 + ENV['ZLIB_CFLAGS'] = '' + ENV['ZLIB_LIBZ'] = '-l' + system "./configure", *args # Fix for 64-bit support, from MacPorts |
