diff options
| author | Misty De Meo | 2015-08-21 11:04:22 -0700 |
|---|---|---|
| committer | Misty De Meo | 2015-08-21 11:04:22 -0700 |
| commit | 727239e12f98fafad39aa4f70b37c6d5bf4db1cc (patch) | |
| tree | 6019e597c18c9ea366e7e45be0a3e6fc19335ae1 /Library/Homebrew/requirements | |
| parent | 1da2855c0b1d884d18944307bdbbe2b64c4dd47d (diff) | |
| parent | 04a0b2aafe2062701be4028f408d0bee15f3815d (diff) | |
| download | brew-727239e12f98fafad39aa4f70b37c6d5bf4db1cc.tar.bz2 | |
Merge bottle install without Xcode branch
Merge branch 'bottle_hooks'
Diffstat (limited to 'Library/Homebrew/requirements')
| -rw-r--r-- | Library/Homebrew/requirements/cctools_requirement.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Homebrew/requirements/cctools_requirement.rb b/Library/Homebrew/requirements/cctools_requirement.rb new file mode 100644 index 000000000..ab7f8cb59 --- /dev/null +++ b/Library/Homebrew/requirements/cctools_requirement.rb @@ -0,0 +1,13 @@ +# Represents a general requirement for utilities normally installed by Xcode, +# the CLT, or provided by the cctools formula. In particular, this requirement +# allows Homebrew to pull in the cctools formula and use its utilities to +# perform relocation operations on systems that do not have either Xcode or the +# CLT installed (but still want to install bottled formulae). +class CctoolsRequirement < Requirement + fatal true + default_formula 'cctools' + + satisfy(:build_env => false) do + MacOS::Xcode.installed? || MacOS::CLT.installed? || Formula['cctools'].installed? + end +end |
