From e3cbfd8699a33275c8aecd63640cb0627938fd85 Mon Sep 17 00:00:00 2001 From: nibbles 2bits Date: Fri, 6 Jul 2012 21:45:40 -0700 Subject: pygtk: depends_on :x11 pygtk-2.24.0 on Lion will not compile because it can't find `. This occurs because pkgconfig has trouble querying the pangocairo.pc module because it complains that a required module, `fontconfig` can't be found and suggests adding it's path to `PKG_CONFIG_PATH`. We know `fontconfig` is a part of X11. So add `depends_on :x11` to the formula so that all the pkgconfig modules can be located. Tested by importing pygtk, importing cairo, and by running `brew test -v pygtk` on Lion with clang and llvm from XCode-4.3.3. Fixes #13205 and possibly #13256 Closes #13257. Signed-off-by: Jack Nagel --- Library/Formula/pygtk.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') diff --git a/Library/Formula/pygtk.rb b/Library/Formula/pygtk.rb index dbfa4c410..ebcf17f08 100644 --- a/Library/Formula/pygtk.rb +++ b/Library/Formula/pygtk.rb @@ -5,6 +5,7 @@ class Pygtk < Formula homepage 'http://www.pygtk.org/' md5 'a1051d5794fd7696d3c1af6422d17a49' + depends_on :x11 depends_on 'glib' depends_on 'gtk+' depends_on 'pygobject' -- cgit v1.2.3