aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
AgeCommit message (Collapse)Author
2016-09-15superenv: help Autotools with 10.12 SDK on 10.11ilovezfs
The GNU Autotools tests for whether a given symbol is defined are reliably coming to incorrect conclusions on 10.11 with the 10.12 SDK in Xcode 8. This overrides its decisions by forcing the right answer in superenv using ac_cv_func_* environment variables and setting them to "no" on 10.11. The list of problematic symbols is from grep 'weak$os10.11' MacOSX.sdk/usr/lib/system/libsystem_c.tbd
2016-09-13extend/pathname: fix Rubocop warnings.Mike McQuaid
2016-09-13extend/os/mac/development_tools: fix Rubocop warnings.Mike McQuaid
2016-09-13extend/fileutils: fix Rubocop warnings.Mike McQuaid
2016-09-13extend/ENV/super: fix Rubocop warnings.Mike McQuaid
2016-09-13extend/ENV/std: fix Rubocop warnings.Mike McQuaid
2016-09-13extend/ENV/shared: fix Rubocop warnings.Mike McQuaid
2016-09-13extend/ARGV: fix Rubocop warnings.Mike McQuaid
2016-09-10diagnostic: tweak check_xcode_up_to_date messagingDominyk Tiller
2016-09-07Merge pull request #833 from DomT4/death_by_xcodeMike McQuaid
xcode: die unless Xcode/CLT up-to-date on prerelease macOS
2016-09-07Refactor MacOS check_development_tools usage.Mike McQuaid
Better use the abstraction layer so e.g. Linux could have similarly fatal checks for these things.
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-24Merge pull request #793 from reitermarkus/refactoring-pathnameMarkus Reiter
Merge Cask’s `Pathname` extension with Homebrew’s.
2016-08-24no_weak_imports: call ENV.append, not .addMisty De Meo
2016-08-24Merge Cask’s `Pathname` extension with Homebrew’s.Markus Reiter
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-19Merge pull request #741 from tdsmith/weak-imports-opt-inMike McQuaid
Add permit_weak_imports directive
2016-08-18remove ruby 1.8 compatible codesXu Cheng
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-17Document 'w' CCCFG flagTim D. Smith
2016-08-17ENV/super: use Hardware::CPU.is_32_bit?Xu Cheng
`Hardware.is_32_bit?` is deprecated.
2016-08-17shared: handle missing Xcode/CLT version.Mike McQuaid
Fixes https://github.com/Homebrew/homebrew-core/issues/3973.
2016-08-17Merge pull request #721 from MikeMcQuaid/no_weak_importsMike McQuaid
Set -no_weak_imports linker flag for Xcode 8
2016-08-17extend/fileutils: assume Ruby 2.Mike McQuaid
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-08-06Update upgrade/outdated methods for head versionsVlad Shablinsky
Introduce `--fetch-HEAD` option. Without this option upgrade and outdated never fetch latest upstream commit to detect if HEAD is outdated -- tabs are used instead. However, if option is passed, we fetch commit from upstream, which is more time consuming, but we can be sure that version is up-to-date or outdated.
2016-08-06Fix update commit for non-HEAD kegs with head spec (#644)Uladzislau Shablinski
If we try to call `Formulary.from_keg(f, :head)` on the keg that is not HEAD-keg itself, we don't need to update commit of returned formula and should use just HEAD version with nil commit. Same is true for `ARGV.resolved_formulae`
2016-07-29Add missing development_tools requires.Mike McQuaid
2016-07-29linux/hardware/cpu: import family from Linuxbrew.Mike McQuaid
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-17Update commit when resolving the formula (#536)Uladzislau Shablinski
2016-07-17extend/ARGV: avoid assignment in argument listMartin Afanasjew
Aside from being bad style, this also assigns to an unused variable.
2016-07-17ARGV#kegs: using installed_prefix to locate kegXu Cheng
2016-07-17ARGV#resolved_formulae: check whether input is a formula fileXu Cheng
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.