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.
This commit is contained in:
Mike McQuaid 2011-07-29 18:36:47 +01:00
parent d6c84172ed
commit 81c7ec9933

View File

@ -64,7 +64,7 @@ module HomebrewArgvExtension
end end
def build_from_source? 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 = options_only
options.delete '--universal' options.delete '--universal'
not options.empty? not options.empty?