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 Homebrew/homebrew#13205 and possibly Homebrew/homebrew#13256 Closes Homebrew/homebrew#13257. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
b8cba5b3e5
commit
ba9091bec2
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue