diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/distcc.rb | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/Library/Formula/distcc.rb b/Library/Formula/distcc.rb index 061828c7b..be889fe10 100644 --- a/Library/Formula/distcc.rb +++ b/Library/Formula/distcc.rb @@ -14,18 +14,15 @@ class Distcc < Formula url 'http://distcc.googlecode.com/files/distcc-3.2rc1.tar.gz' sha1 '7cd46fe0926a3a859a516274e6ae59fa8ba0262d' - depends_on :python depends_on PythonWithoutPPC def install - python do - # Make sure python stuff is put into the Cellar. - # --root triggers a bug and installs into HOMEBREW_PREFIX/lib/python2.7/site-packages instead of the Cellar. - inreplace 'Makefile.in', '--root="$$DESTDIR"', "" + # Make sure python stuff is put into the Cellar. + # --root triggers a bug and installs into HOMEBREW_PREFIX/lib/python2.7/site-packages instead of the Cellar. + inreplace 'Makefile.in', '--root="$$DESTDIR"', "" - system "./configure", "--prefix=#{prefix}" - system "make install" - end + system "./configure", "--prefix=#{prefix}" + system "make install" plist_path.write startup_plist plist_path.chmod 0644 end @@ -62,6 +59,6 @@ class Distcc < Formula end def test - system "#{bin}/distcc" + system "#{bin}/distcc", "--version" end end |
