aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-01-04 13:04:38 +0000
committerMike McQuaid2014-01-04 13:19:21 +0000
commitb788fe23630bde2c8098129c9f5491fbd46cd7c1 (patch)
tree229ed9af8db2fe62b618db2dae38790ea743a4ff /Library/Formula
parent37a28a2c0b5e66b1a952e74c55b95707afbd3140 (diff)
downloadhomebrew-b788fe23630bde2c8098129c9f5491fbd46cd7c1.tar.bz2
distcc: cleanup python usage.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/distcc.rb15
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