subversion: improve build time (use deparallelize only when necessary)

Closes Homebrew/homebrew#20602.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Clemens Gruber 2013-06-19 15:40:15 +02:00 committed by Adam Vandenberg
parent 2b046da516
commit fca0b33954

View file

@ -56,11 +56,11 @@ class Subversion < Formula
end
def install
# Java support doesn't build correctly in parallel:
# https://github.com/mxcl/homebrew/issues/20415
ENV.deparallelize
if build.include? 'java'
# Java support doesn't build correctly in parallel:
# https://github.com/mxcl/homebrew/issues/20415
ENV.deparallelize
unless build.universal?
opoo "A non-Universal Java build was requested."
puts "To use Java bindings with various Java IDEs, you might need a universal build:"