aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bazaar.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/bazaar.rb')
-rw-r--r--Library/Formula/bazaar.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/bazaar.rb b/Library/Formula/bazaar.rb
index 8e792c533..d36c9145d 100644
--- a/Library/Formula/bazaar.rb
+++ b/Library/Formula/bazaar.rb
@@ -10,6 +10,12 @@ class Bazaar <Formula
end
def install
+ ENV.j1 # Builds aren't parallel-safe
+
+ # Make and install man page first
+ system "make man1/bzr.1"
+ man1.install "man1/bzr.1"
+
if ARGV.include? "--system"
ENV.prepend "PATH", "/System/Library/Frameworks/Python.framework/Versions/Current/bin", ":"
else
@@ -29,10 +35,6 @@ EOS
archs = archs_for_command("python")
ENV.minimal_optimization if archs.include? :ppc64 or archs.include? :ppc7400
- # Make the manual before we install (mv) bzrlib
- system "make man1/bzr.1"
- man1.install gzip('man1/bzr.1')
-
system "make"
inreplace "bzr", "#! /usr/bin/env python", "#!/usr/bin/python" if ARGV.include? "--system"
libexec.install ['bzr', 'bzrlib']