aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
AgeCommit message (Collapse)Author
2014-02-14brew: check for --help and friends in more of ARGVMike McQuaid
Let's check for e.g. --help anywhere in the ARGV array rather than just the first value to avoid brew upgrade --help causing problems. Closes #26675. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-02-12Delete unused methodJack Nagel
2014-02-11Revert "Recognize --head as an alias for --HEAD"Adam Vandenberg
This reverts commit c32ab0a35a2dfa9b593f759ef0ae8b7af077b0b7. There are other hard-coded uses of HEAD, in build_options for instance. These all need to be fixed before enabling this.
2014-02-09Recognize --head as an alias for --HEADMisty De Meo
Homebrew currently recognizes "--head" during the install process, but rather than actually fetch HEAD it just nags the user to use the correct option. Since we recognize the spelling anyway, this just promotes the lowercase version to an official alias. Closes #26555.
2014-02-02Correctly find Homebrew-installed fortranCamillo Lugaresi
Fixes #26338. Closes #26352. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-01-27Revert "Add python superenv wrapper"Misty De Meo
This reverts commit 90e22e389c539b25fe7864645bfe5e2a9ce7452f.
2014-01-26Add python superenv wrapperMisty De Meo
Closes #26140. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2014-01-11Fix typoJack Nagel
2014-01-04Pathname: add methods to write env scripts.Mike McQuaid
2014-01-04ENV: add method to prepend and create a PATH.Mike McQuaid
2014-01-04ENV.gcc: remove raiseMisty De Meo
This raise happened in no other ENV methods, and isn't really necessary since fails_with guards against this method actually being called unless gcc-4.2 is actually installed.
2014-01-04Recommit ENV changesMisty De Meo
2014-01-04Revert "stdenv: fix self.cc check"Mike McQuaid
This reverts commit 0e1d52c0d3945ae0ac69383c7734e425b7fbf8f1.
2014-01-04Revert "stdenv: set correct compiler symbol for gcc 4.0"Mike McQuaid
This reverts commit f4dc5614953b3b90acc28c83262d56587b0616b1.
2014-01-03stdenv: set correct compiler symbol for gcc 4.0Misty De Meo
2014-01-03stdenv: fix self.cc checkMisty De Meo
Since ENV.cc/cxx are accessors to ENV, any values being passed through are coerced into strings, which means that a nil `ENV.cc` is actually an empty string - which isn't considered to be false in Ruby. Fixes mistydemeo/tigerbrew#161. Fixes mistydemeo/tigerbrew#135.
2013-12-27superenv: don't accidentally filter out HOMEBREW_TEMPJack Nagel
Fixes #25471.
2013-12-19install: add --only-dependencies optionSteven Peters
The traditional approach to installing the dependencies of a formula is the following: brew install `brew deps formula` This approach ignores any options that are specified in the parent formula. This pull request adds a --only-dependencies option to brew install that installs the dependencies of a formula with optional flags, but returns before installing the parent formula. Closes #25272. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-12-14Extract HOMEBREW_TEMP constantJack Nagel
2013-12-14Move Pathname#dynamically_linked_libraries to mach moduleJack Nagel
2013-12-12Report correct file/line in backtraces for attr_rw methodsJack Nagel
2013-12-12monkey around for emacs' code highlighterAdam Vandenberg
The abv method has a construct that causes emacs to not highlight the rest of pathname.rb, so move abv lower in the file. Sorry.
2013-12-12+x wrapper scripts, so they work during post-installAdam Vandenberg
2013-12-09Silence more warningsJack Nagel
2013-12-06Help autoconf find m4 on Xcode-only systemsJack Nagel
Closes #24904.
2013-12-03Make CompilerSelectionError an InstallationErrorJack Nagel
Fixes #19962.
2013-12-02Fix typoJack Nagel
2013-12-02Yielded value is not usedJack Nagel
2013-11-29support .lz archivesAdam Vandenberg
Closes #24775.
2013-11-27Require Formula before using itJack Nagel
2013-11-27Adjust optimization flags if the CPU does not support SSE4Jack Nagel
Tentatively fixes #21778, #24363.
2013-11-21Remove commentJack Nagel
2013-11-20Simplify passing archflags to cc wrapperJack Nagel
2013-11-20Move optimization flag selection out of cc wrapperJack Nagel
The mapping of architectures to optimization flags is now retrieved from Hardware::CPU and the selected flags are passed as an environmen variable, rather than duplicated in the cc wrapper and re-calculated on every invocation of the compiler. Closes #24540.
2013-11-17Export HOMEBREW_PREFIX to build environmentJack Nagel
Constructing the path relative to a file in the repository is incorrect on some supported configurations (i.e., the repository is located in a different place than the prefix). Closes #24418.
2013-11-15Combine X11 path conditionalsJack Nagel
2013-11-15Improve heuristic for detecting configureJack Nagel
2013-11-14Recognized .pax.gz extensionJack Nagel
2013-11-12Better documentation for no-op superenv methodsJack Nagel
2013-11-12Allow changing the optimization level under superenvJack Nagel
2013-11-12Simplify ENV.0x methods in stdenvJack Nagel
2013-11-12Add ENV.O0 to stdenvJack Nagel
2013-11-11Group public ENV methods togetherJack Nagel
2013-11-11Remove outdated commentJack Nagel
2013-11-08superenv: fix type errorJack Nagel
This is a string since it is used to match string keys in a hash.
2013-11-07superenv: set cc/cxx based on actual compiler.Mike McQuaid
Closes #23449.
2013-11-04Disable make_fuss when running configure invoked by makeJack Nagel
The cc wrapper's make_fuss is only enabled when HOMEBREW_CCCFG contains 'O', which is set by the make wrapper. This means it is disable when running configure scripts. However, this does not include configure scripts invoked by make, which inherit the value of HOMEBREW_CCCFG from the make process. make_fuss will be enabled for these scripts, cause breakage. Configure scripts generated by autoconf 2.56 (November 2002) or later export DUALCASE into the environment of subprocesses. This variable is only used by the MKS shell, so we can use it as a heuristic to determine if we are running as a subprocess of a configure script.
2013-11-02stdenv: drop space between "-isystem" and path.Xiyue Deng
* This is consistent with superenv.
2013-10-30Cleanup use of some global constants.Mike McQuaid
2013-10-27Make stdenv handling less intrusive.Xiyue Deng
* Don't encode "-Qunused-arguments", as this is only supported in Clang and will break building when C/C++ compiler is switched during the process, e.g. building gcc. The warning is harmless without "-Werror".