From 81c7ec993394a6b33eb5056f8863e8c4b1f9ed3e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 29 Jul 2011 18:36:47 +0100 Subject: [PATCH] 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. --- Library/Homebrew/extend/ARGV.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/ARGV.rb b/Library/Homebrew/extend/ARGV.rb index 01684d42fe..a78073b9b6 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?