This hack (?) means glib doesn't depend on pkg-config
So in theory we can upgrade to pkg-config 0.26 now.
This commit is contained in:
parent
ee09cd17a3
commit
e20df6c4de
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue