diff options
| author | Mike McQuaid | 2014-01-04 13:07:09 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-04 13:19:47 +0000 |
| commit | 0062af953db5f0448d3986a7f6dc8888eef418eb (patch) | |
| tree | e55d46d8b8181a4ee1ad99664c2edca092b52eee /Library/Formula | |
| parent | 48e028abed7ec1f1b4ee830b06e93ee175e050a5 (diff) | |
| download | homebrew-0062af953db5f0448d3986a7f6dc8888eef418eb.tar.bz2 | |
gtk-doc: cleanup python usage.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gtk-doc.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/gtk-doc.rb b/Library/Formula/gtk-doc.rb index d9bb01dc9..cb5951a44 100644 --- a/Library/Formula/gtk-doc.rb +++ b/Library/Formula/gtk-doc.rb @@ -7,7 +7,6 @@ class GtkDoc < Formula depends_on 'pkg-config' => :build depends_on 'gnome-doc-utils' => :build - depends_on :python depends_on 'gettext' depends_on 'glib' depends_on 'docbook' @@ -15,8 +14,8 @@ class GtkDoc < Formula depends_on 'libxml2' => 'with-python' def install - # libxml2 is keg_only but we installed the python bindings globally, so - # configure should find them. + ENV.append_path 'PYTHONPATH', HOMEBREW_PREFIX/"opt/libxml2/lib/python2.7/site-packages" + system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", |
