diff options
| author | Jack Nagel | 2011-10-14 23:38:59 -0500 |
|---|---|---|
| committer | Jack Nagel | 2011-10-14 23:55:45 -0500 |
| commit | 1fba8e7f45e367c91e63a81ac3e52d91af86f89e (patch) | |
| tree | adca8353c4526228ed1bc1225f5b4337ff9b918a /Library | |
| parent | 3fc4596c5f3ac4b9afeae53591b2a60d1666d86d (diff) | |
| download | homebrew-1fba8e7f45e367c91e63a81ac3e52d91af86f89e.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 |
