aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/os/mac
AgeCommit message (Collapse)Author
2016-09-05Merge pull request #866 from tdsmith/audit-libresslTim D. Smith
Catch system libressl in openssl audit as well
2016-09-04Catch LibreSSL libtls as wellTim D. Smith
Update the description to reflect that we may be talking about either crypto library and neither is okay. :)
2016-09-04Merge pull request #201 from gregory-nisbet/feature-env-shellsMike McQuaid
--env: support more shells, allow explicit shell selection
2016-09-03Catch system libressl in openssl audit as wellTim D. Smith
The regex didn't match libcrypto.35.dylib, and it should have.
2016-08-30diagnostic: add strict_development_tools_checksDominyk Tiller
2016-08-24no_weak_imports: call ENV.append, not .addMisty De Meo
2016-08-22Make -no_weak_imports opt-in.Mike McQuaid
The experiment to add `-no_weak_imports` unconditionally has been a bit of a failure. It's broken more than it's fixed and I don't think we can have this as a default for Xcode 8. Add `ENV.no_weak_imports` to be used by formulae authors and make `ENV.no_weak_imports a no-op (for now). We may reconsider this behaviour in future.
2016-08-17Add permit_weak_imports directiveTim D. Smith
Issue Homebrew/homebrew-core#3727 suggested we set -no_weak_imports for new versions of Xcode to ensure that e.g. building on 10.11 against the 10.12 SDK doesn't result in a situation where autotools thinks symbols exist that don't actually exist on the current platform. Further discussion in golang/go#16770 revealed that some packages require weak imports to build normally.
2016-08-17shared: handle missing Xcode/CLT version.Mike McQuaid
Fixes https://github.com/Homebrew/homebrew-core/issues/3973.
2016-08-16superenv: add LDFLAGS if disabling weak imports.Mike McQuaid
2016-08-16ENV/std: add LDFLAGS if disabling weak imports.Mike McQuaid
2016-08-16mac/ENV/shared: add check for disabling weak imports.Mike McQuaid
2016-08-16Add OS X-specific SharedEnvExtension.Mike McQuaid
2016-08-10resolve conflict in diagnostic.rbGreg Nisbet
2016-07-28audit: don't check formula linkage.Mike McQuaid
This partly reverts commit 0ed673abdb59e2f75f9b8539cce318607924e87f.
2016-07-27diagnostic: port to generic layer.Mike McQuaid
2016-07-27development_tools: add install instruction helpers.Mike McQuaid
2016-07-27blacklist: port to generic layer.Mike McQuaid
2016-07-24audit: only check undeclared deps for standard installations. (#576)Xu Cheng
In fact, we don't really care about undeclared dependencies for optional installations. Because, this is mainly used to help us to detect breakage for bottles so we can do a revision bump.
2016-07-17mac/diagnostic: add check_for_prerelease_xcodeDominyk Tiller
Closes #524. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-07-16ENV: fix homebrew_extra_pkg_config_pathsilovezfs
Switch to HOMEBREW_LIBRARY since HOMEBREW_LIBRARY_PATH already includes "/Homebrew" and HOMEBREW_LIBRARY is less confusing. Closes #530. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-07-16Unify Version.create usageVlad Shablinsky
Substitue each Version.new and HeadVersion.new with Version.create to unify Version and HeadVersion instantiation among core code. Note that this does not relate to Mac::OS::Version class.
2016-07-15ENV: move to new paths. (#507)Mike McQuaid
Move some stuff formerly in `Library/ENV` around: - Move `Library/ENV/$XCODE_VERSION` to `Library/Homebrew/env/super` as they are all superenv wrappers and all symlinks to the same version. We never needed the "separate shims for separate versions" functionality and it just adds confusion. - Move `Library/ENV/pkgconfig` to `Library/Homebrew/env/pkgconfig` to get more things under `Library/Homebrew` - Move `Library/ENV/scm` to `Library/scm` as these wrappers are not actually used by or related to superenv (or stdenv) in any way.
2016-07-15super: migrate xml2 cmake to mac/superDominyk Tiller
Looks like it was accidentally left behind (?)
2016-07-15mac/super: restore definition of effective_sysrootDominyk Tiller
In https://github.com/Homebrew/brew/commit/0d189fae57bad6c209b471eba9e0b254a2b40886 we completely removed `effective_sysroot`, which consequently left all the `effective_sysroot`/usr/include calls pointing at `/usr/include`. This is wildly problematic on systems where the Command Line Tools aren't installed because `/usr/include` is not a default-created folder prior to CLT installation. I'm unsure if `effective_sysroot` should still be mentioned in Library/Homebrew/extend/ENV/super.rb at all. If it can be deleted, feel free to do that without waiting for me to review. This seems to fix: * https://github.com/Homebrew/homebrew-core/issues/2991 * https://github.com/Homebrew/homebrew-core/issues/2986 * https://github.com/Homebrew/homebrew-core/issues/2962
2016-07-14formula_cellar_checks: add check_linkageXu Cheng
This means linkage checks will be invoked during `brew install` and `brew audit` Closes #470. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-07-13various: proper escape dot in regexXu Cheng
2016-07-13describe_homebrew_ruby: fix regexXu Cheng
`.` need to be escaped, otherwise it will match any character. Also improve code style for handling string s.
2016-07-13describe_homebrew_ruby: s may be a frozen stringXu Cheng
2016-07-12superenv: port to generic OS. (#457)Mike McQuaid
2016-07-12stdenv: port to generic OS. (#456)Mike McQuaid
2016-07-11config: show homebrew ruby for all system (#492)Xu Cheng
2016-07-09extend/os/mac/keg_relocate: fix weird omissionMartin Afanasjew
2016-07-09keg_relocate: port to generic OS. (#453)Mike McQuaid
2016-07-09formula_cellar_checks: port to generic OS. (#452)Mike McQuaid
2016-07-09emoji: extract logic into generic OS classes. (#450)Mike McQuaid
2016-07-06extend/os/mac/diagnostic: remove redundant methodMartin Afanasjew
Remove an exact duplicate from further up in the same file. (It was accidentally added in 8a582f2bd976ce7044c3b2dc6eef701f94b9ace5.)
2016-07-06extend/os/mac/diagnostic: fix indentationMartin Afanasjew
2016-07-06development_tools: add installed? method. (#455)Mike McQuaid
2016-07-06hardware: move generic logic from linux. (#454)Mike McQuaid
2016-07-06doctor: fix undefined method `include?' for nil:NilClassXu Cheng
Closes https://github.com/Homebrew/homebrew-core/issues/2758
2016-07-06doctor: check for beta XQuartz releasesMisty De Meo
Beta versions of XQuartz have address sanitization enabled, which breaks some software at runtime, including wine. Closes Homebrew/homebrew-core#2481. Closes #459. Signed-off-by: Misty De Meo <mistydemeo@github.com>
2016-07-04diagnostic: more porting to generic OS. (#449)Mike McQuaid
2016-07-04cleaner: port to generic OS. (#447)Mike McQuaid
2016-06-14diagnostic: prod unsupported OS users to file PRs. (#365)Mike McQuaid
They may not but it's nice to be a bit more explicit.
2016-05-26development_tools: fix broken 'Xcode' referenceMartin Afanasjew
Affects only legacy systems that don't have a `/usr/bin/cc` binary.
2016-05-22Remove LLVM-GCC support. (#252)Mike McQuaid
At this point it's never a good compiler to use so let's just remove it.
2016-05-08Make config command cross-platform.Mike McQuaid
Closes #168. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-05-08Make development tools code cross-platform.Mike McQuaid
2016-05-08Make hardware code cross-platform.Mike McQuaid