aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/os/mac
AgeCommit message (Collapse)Author
2018-02-28Move linkage_checker from os/mac to genericShaun Jackman
2018-02-22Cross-platform java detectionMaxim Belkin
2018-02-19Code refactoringMaxim Belkin
2018-02-16Removing unnecessary argumentsMaxim Belkin
2018-02-16Fixing brew-style offensesMaxim Belkin
2018-02-16zip and bzip2 dependencies when neededMaxim Belkin
On some systems identified as Linux, zip and bzip2 might not be available. Therefore, on such platforms we add them unconditionally as dependencies when required. On Mac, these dependencies are always satisfied.
2018-01-10Deprecate Git, Subversion requirements.Mike McQuaid
These rely on `default_formula` to be useful and are better following the `*_dep_if_needed` pattern.
2018-01-03LD64Dependency is needed on macOS onlyShaun Jackman
Move ld64_dependency.rb to os/mac/.
2017-12-30requirements: move more to compat.Mike McQuaid
2017-12-23Deprecate more requirements.Mike McQuaid
These are ones that were either already deprecated due to audit rules or are just a simple `which` with a `default_formula` so should just be a dependency.
2017-12-23dependency_collector: cleanup optional system depsMike McQuaid
2017-12-10Merge pull request #3543 from MikeMcQuaid/remove-env-unsetsMike McQuaid
Remove some unset/checked environment checks
2017-12-08X11Requirement: Inherit from generic class [macOS]Shaun Jackman
Fix the warning: already initialized constant X11Requirement
2017-12-08Remove some unset/checked environment checksMike McQuaid
These will be redundant once environment filtering is on by default in #3529.
2017-12-07Implement X11Requirement for LinuxShaun Jackman
Move the XQuartz implementation to extend/os/mac/requirements.
2017-12-03extend/pathname: Add os/linux/elf.rbShaun Jackman
2017-12-01Hardware::CPU: Implement OS-agnostic methodsShaun Jackman
2017-11-27More environment filtering fixesMike McQuaid
- Make `brew pull` pass through Git environment variables - Whitelist all `TRAVIS_` variables.
2017-11-18ENV: don't set MACOSX_DEPLOYMENT_TARGETilovezfs
CMake tries to use Xcode if MACOSX_DEPLOYMENT_TARGET is set but that can lead to build failures when SDKROOT isn't set. The CMake behavior at minimum manifests as -isysroot spontaneously being set to the Xcode SDK, which brew sometimes can't successfully fully unwind with its ENV hacks.
2017-11-17Tweak SDK variables for new Xcode/CLT setup.Mike McQuaid
2017-11-17diagnostic: check if Xcode needs CLT installed.Mike McQuaid
Require the CLT on all but the latest version of macOS to avoid the continuous workarounds for SDK weirdness.
2017-11-13environment filtering: pass through TRAVIS vars.Mike McQuaid
We use these internally so let's map them to `HOMEBREW_` variables.
2017-11-10Merge pull request #3377 from maxim-belkin/extend-pathnameMike McQuaid
pathname: new methods and improvements
2017-11-07pathname: improvements, cleanups, and new methodsMaxim Belkin
- atomic_write: close file before renaming to prevent error: 'Device or resource busy' - ensure_writable: preserve executable bit - new elf? and dynamic? methods
2017-11-07os/mac/diagnostic: fix XQuartz message.Mike McQuaid
Fixes #3434.
2017-11-05ENV/super: simplify version checks.Mike McQuaid
2017-11-05diagnostic: simplify version checks.Mike McQuaid
2017-11-05system_config: handle new non-string Xcode versionMike McQuaid
2017-10-26java_requirement: support prompting users to install legacy Java casksJCount
This enhances the Java requirement to support prompting the user to install the correct legacy Java version via Cask for formulae that don't yet work with the latest version of Java. Previously, even if the formula had a strict requirement that a specific, older version of Java be used, the messaging would tell the user to `brew cask install java` (i.e. to install the latest version of Java), which wouldn't actually satisfy the requirement.
2017-10-18Use “squiggly” heredocs.Markus Reiter
2017-10-16remove sneaky empty lineMaxim Belkin
2017-10-16caveats: making plist_caveats macOS-onlyMaxim Belkin
2017-09-27Revert "mach: Avoid reopening the file for relocation"ilovezfs
2017-09-27Revert "keg_relocate: use correct number of arguments in call to ↵ilovezfs
change_install_name"
2017-09-26keg_relocate: fix call to change_install_nameSteven Peters
During the changes to macho file relocation refactoring in #3101, #3138, and #3139, the number of arguments to the mach::change_install_name function changed from 3 to 2, but there was still an instance of the function being called with the wrong number of arguments.
2017-09-25Merge pull request #3139 from woodruffw/macho-use-objectWilliam Woodruff
mach: Avoid reopening the file for relocation
2017-09-25mach: Avoid reopening the file for relocationWilliam Woodruff
This commit allows the relocation code to perform install name and dylib ID changes without reopening the file separately.
2017-09-23Merge pull request #3174 from sjackman/popen-optionsMike McQuaid
popen: Do not suppress stderr when HOMEBREW_STDERR
2017-09-23Merge pull request #3190 from MikeMcQuaid/curl_https_fixMike McQuaid
development_tools: fix curl https handling.
2017-09-22superenv: more help for Autotools with 10.13 SDK on 10.12ilovezfs
Add fmemopen and open_memstream to the list of ac_cv_func_*=no symbols for 10.12 with the 10.13 SDK.
2017-09-22development_tools: fix curl https handling.Mike McQuaid
`curl` can handle modern certificates _unless_ it is too old. This broke `brew audit`'s HTTPS detection code.
2017-09-21Merge pull request #3164 from MikeMcQuaid/portable-ruby-2.3.3Mike McQuaid
Upgrade vendored Ruby to 2.3.3.
2017-09-21Upgrade vendored Ruby to 2.3.3.Mike McQuaid
Use this version whenever 2.3.3 isn't installed. Also, remove the Linux portable Ruby for now until it's built to be the same version.
2017-09-21superenv: help Autotools with 10.13 SDK on 10.12ilovezfs
The GNU Autotools tests for whether futimens and utimensat are available reliably come to incorrect conclusions on 10.12 with the 10.13 SDK in Xcode 9. This overrides its decisions by forcing the right answer in superenv using ac_cv_func_* environment variables and setting them to "no" on 10.12.
2017-09-20locate: Suppress stderrShaun Jackman
Suppress the error message: xcrun: error: unable to find utility "gcc-4.0", not a developer tool or in PATH
2017-09-16Tweaks for older Mac OS X versions.Mike McQuaid
- `brew update` should try to install `curl` before `git` on older versions of Mac OS X where it is needed for accessing modern SSL certificates. - We don't need an HTTP mirror for `git` because `curl` will already be installed before it is downloaded. - Don't recommend GCC on Mac OS X versions where it can't be built with the default system compiler. - Start using the Homebrew `curl` on Mac OS X versions where it is needed as soon as it is installed.
2017-09-15os/mac/diagnostic: allow custom Ruby for devs.Mike McQuaid
This avoids `brew doctor` warnings on High Sierra but in general this is a good idea for future versions and to allow Homebrew developers to test things out with different versions of Ruby.
2017-09-08Revert "mach: Avoid reopening the file for relocation"ilovezfs
2017-09-08Merge pull request #3101 from woodruffw/macho-use-objectWilliam Woodruff
mach: Avoid reopening the file for relocation
2017-09-05mac/hardware/cpu: recognise Kaby LakeDominyk Tiller
The 2017 MacBook Pro line shipped with Kaby Lake CPUs.