Remove fink/macports from verbose --config if they are not present.

This commit is contained in:
Adam Vandenberg 2012-09-05 22:07:35 -07:00
parent fabc7eb992
commit 6a131ced3f

View File

@ -125,7 +125,8 @@ module Homebrew extend self
puts "GCC-4.2: build #{gcc_42}" if gcc_42
puts "LLVM-GCC: #{llvm ? "build #{llvm}" : "N/A"}"
puts "Clang: #{clang ? "#{clang} build #{clang_build}" : "N/A"}"
puts "MacPorts or Fink? #{macports_or_fink_installed?}"
ponk = macports_or_fink_installed?
puts "MacPorts or Fink? #{ponk}" if ponk
puts "System Ruby: #{RUBY_VERSION}-#{RUBY_PATCHLEVEL}"
puts "Perl: #{describe_perl}"
puts "Python: #{describe_python}"