aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2011-07-29 18:36:47 +0100
committerMike McQuaid2011-07-29 18:36:47 +0100
commit81c7ec993394a6b33eb5056f8863e8c4b1f9ed3e (patch)
treea2acc56a77c7355c706153f907983db82ce63131 /Library
parentd6c84172ed1f1b189a7ca1d7ebf7da8e05783889 (diff)
downloadbrew-81c7ec993394a6b33eb5056f8863e8c4b1f9ed3e.tar.bz2
Build from source (for now) unless on Lion.
Longer-term we'll try and use install_name_tool to fix Lion bottles so they run fine on 10.5 and/or 10.6. Closes Homebrew/homebrew#6699.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ARGV.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ARGV.rb b/Library/Homebrew/extend/ARGV.rb
index 01684d42f..a78073b9b 100644
--- a/Library/Homebrew/extend/ARGV.rb
+++ b/Library/Homebrew/extend/ARGV.rb
@@ -64,7 +64,7 @@ module HomebrewArgvExtension
end
def build_from_source?
- return true if flag? '--build-from-source' or ENV['HOMEBREW_BUILD_FROM_SOURCE'] or MacOS.leopard?
+ return true if flag? '--build-from-source' or ENV['HOMEBREW_BUILD_FROM_SOURCE'] or not MacOS.lion?
options = options_only
options.delete '--universal'
not options.empty?