aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authornibbles 2bits2012-07-06 21:45:40 -0700
committerJack Nagel2012-07-07 02:42:11 -0500
commite3cbfd8699a33275c8aecd63640cb0627938fd85 (patch)
tree9e55841ee2097cb02a098b60d3f3846140245c98 /Library
parent28059f732be68758b093ab3a9450b4b13b724154 (diff)
downloadhomebrew-e3cbfd8699a33275c8aecd63640cb0627938fd85.tar.bz2
pygtk: depends_on :x11
pygtk-2.24.0 on Lion will not compile because it can't find `<pango/pangocairo.h>. 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 <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pygtk.rb1
1 files changed, 1 insertions, 0 deletions
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'