diff options
| author | Jack Nagel | 2011-10-14 23:38:59 -0500 |
|---|---|---|
| committer | Jack Nagel | 2011-10-14 23:55:45 -0500 |
| commit | 85b17ecb4ebeb0100bb367e4696878cc7fe2d7ec (patch) | |
| tree | ba3a435ee33c09db67ec659d0b760ea5e1bbd33e /Library | |
| parent | 6ab97f75be351e06aea97355dee043912d549364 (diff) | |
| download | brew-85b17ecb4ebeb0100bb367e4696878cc7fe2d7ec.tar.bz2 | |
brew-unpack: define fails_with_llvm? as false
brew-unpack was failing for formulae that satisfy fails_with_llvm? as
handle_llvm_failure() requires our ENV extension to get ENV.compiler.
Rather than requiring extend/ENV, just define fails_with_llvm? as false
since we don't really care about that when just unpacking a formula.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/examples/brew-unpack.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Contributions/examples/brew-unpack.rb b/Library/Contributions/examples/brew-unpack.rb index d0d505b0a..d4d72623e 100755 --- a/Library/Contributions/examples/brew-unpack.rb +++ b/Library/Contributions/examples/brew-unpack.rb @@ -39,6 +39,10 @@ class Formula do_patch end end + + # handle_llvm_failure() requires extend/ENV, so let's never fail + # with llvm since we don't particularly care in this context. + def fails_with_llvm?; false; end end module Homebrew extend self |
