aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-01-04 13:06:26 +0000
committerMike McQuaid2014-01-04 13:19:22 +0000
commit17507fb9bd00e7f7c915d044bf247f05b6429845 (patch)
tree132da966c7fae56799479e8ea75c0648d4e3a991 /Library/Formula
parentcc4b71d97313efa502749c399b46a5bdd7fcba4f (diff)
downloadhomebrew-17507fb9bd00e7f7c915d044bf247f05b6429845.tar.bz2
gnome-doc-utils: cleanup python usage.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gnome-doc-utils.rb19
1 files changed, 9 insertions, 10 deletions
diff --git a/Library/Formula/gnome-doc-utils.rb b/Library/Formula/gnome-doc-utils.rb
index a9452b124..ea2340006 100644
--- a/Library/Formula/gnome-doc-utils.rb
+++ b/Library/Formula/gnome-doc-utils.rb
@@ -19,17 +19,16 @@ class GnomeDocUtils < Formula
end
def install
- python do
- # Find our docbook catalog
- ENV['XML_CATALOG_FILES'] = "#{etc}/xml/catalog"
+ # Find our docbook catalog
+ ENV['XML_CATALOG_FILES'] = "#{etc}/xml/catalog"
+ ENV.append_path 'PYTHONPATH', HOMEBREW_PREFIX/"opt/libxml2/lib/python2.7/site-packages"
- system "./configure", "--prefix=#{prefix}",
- "--disable-scrollkeeper",
- "--enable-build-utils=yes"
+ system "./configure", "--prefix=#{prefix}",
+ "--disable-scrollkeeper",
+ "--enable-build-utils=yes"
- # Compilation doesn't work right if we jump straight to make install
- system "make"
- system "make install"
- end
+ # Compilation doesn't work right if we jump straight to make install
+ system "make"
+ system "make install"
end
end