aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2013-08-19audit: activate ENV extensionsJack Nagel
2013-08-19Remove ENV.expand_xcrunJack Nagel
This method is currently unused and after inspecting the git history, it appears it may never have been used at all.
2013-08-19Initial tests for superenv sanityJack Nagel
2013-08-19No longer call ENV.userpaths! in requirementsJack Nagel
Instead we use which with a custom PATH.
2013-08-19More robust implementation of ENV.with_build_environmentJack Nagel
2013-08-19Rename HomebrewEnvExtension to StdenvJack Nagel
2013-08-19Move common ENV methods to a shared moduleJack Nagel
2013-08-19Move superenv.rb to extend/ENV/super.rbJack Nagel
2013-08-19Fix superenv ENV[] hackJack Nagel
We override ENV[] to always return strings under superenv, because legacy formulae assume that CFLAGS, etc. are non-nil. However, the current implementation has a bug. If I simply concatenate ENV['CFLAGS'] with another string, it mutates ENV['CFLAGS']: irb> ENV['CFLAGS'] => "" irb> ENV['CFLAGS'] + 'a' => "a" irb> ENV['CFLAGS'] => "a" Instead, let's simply return an empty string if the key doesn't exist. This is sufficient because the following are equivalent: 1. ENV['CFLAGS'] += "string" 2. ENV['CFLAGS'] = ENV['CFLAGS'] + "string"
2013-08-19Re-enable superenv ENV[] hackJack Nagel
2013-08-19Reference self, not ENV, in ENV.fortranJack Nagel
2013-08-19Reference self rather than ENV in Superenv moduleJack Nagel
We want to be able to extend this module onto an arbitrary hash and use it without mutating ENV, for testing purposes.
2013-08-19Move extra stdenv setup to extended callbackJack Nagel
2013-08-19Move common stuff to extend/ENV.rbJack Nagel
2013-08-19Make Superenv activation explicitJack Nagel
2013-08-19Move superbin into Superenv moduleJack Nagel
2013-08-19Move setup into an extended callbackJack Nagel
2013-08-19Extend Superenv onto ENV instead of defining it on the singleton classJack Nagel
2013-08-17update brew search completionAdam Vandenberg
2013-08-17let inreplace take a symbolJason Whittle
As discussed in https://github.com/mxcl/homebrew/pull/21936 Closes Homebrew/homebrew#21942. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-17clojure: remove, blacklist in favour of leiningen.Chris Allen
Closes Homebrew/homebrew#21733. Closes Homebrew/homebrew#21782. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-08-16This is a backreference, not an embedded NULJack Nagel
2013-08-16Fix superenv arch flag handlingJack Nagel
Fixes Homebrew/homebrew#21943.
2013-08-15ENV.universal_binary: use as_arch_flagsMisty De Meo
2013-08-15LinuxCPUs: provide stub methodsMisty De Meo
2013-08-15superenv: use Hardware::CPU.universal_archsMisty De Meo
This defines the new HOMEBREW_ARCHS environment variable, which is currently only set during universal builds, so that the tool wrappers no longer need to hardcode i386/x86_64.
2013-08-15Add Hardware::CPU.universal_archsMisty De Meo
2013-08-15Mach: improve testsMisty De Meo
2013-08-15Mach: add as_cmake_arch_flags helperMisty De Meo
2013-08-15Mach: improve PPC arch detectionMisty De Meo
Also adds some reusable constants into the global Hardware::CPU namespace, available on both OS X and Linux.
2013-08-15Add MacOS.preferred_archMisty De Meo
Replaced the plethora of ternaries we've used all over the place to determine whether x86_64 or i386 is called for.
2013-08-15Add Hardware::CPU.arch_(32|64)_bitMisty De Meo
This replaces hardcoding of i386/x86_64 all over the code.
2013-08-15SubversionDownloadStrategy: fix reference to removed methodJack Nagel
2013-08-14verbageAdam Vandenberg
2013-08-14add ubuntu package searchAdam Vandenberg
2013-08-14audit: show real name for aliasesAdam Vandenberg
2013-08-14unpack: don't attempt to chdir into regular filesJack Nagel
2013-08-14unpack: don't call realpath on potentially non-existent directoryJack Nagel
2013-08-14unpack: extract usageJack Nagel
2013-08-14unpack: use ARGV.valueJack Nagel
2013-08-14unpack: remove dead codeJack Nagel
2013-08-14unpack: ensure $VERBOSE is restoredJack Nagel
2013-08-15Unlinked brewed python -> use system pythonSamuel John
Up to now a brewed Python, even if not linked, was preferred over and external Python, so that you had to completely `brew rm python` to have a formula link against external (mostly system) Python. From now on it is okay to `brew unlink python`.
2013-08-14brew reinstall: Reuse options from last timeSamuel John
Now, we can finally stop stuggesting to `brew rm <foo>` and then `brew install <foo> <with-your-preferred options> So `brew reinstall` will honor all options that have been recorded into the INSTALL_RECEIPT.json plus if `--build-bottle` was used.
2013-08-14Keg should link symlinks directly.Samuel John
If the `src` in the Cellar of a formula is a symlink to another dir in the same Cellar (for example `Frameworks/QtGui.framework` is a symlink to `lib/QtGui.framework`), then we should make a symlink directly instead of possibly creating an empty dir. This is needed because Ruby's `find` does not follow symlinks (newer versions can, but we have to support 10.8 for a long time). Currently this probably only occurs for Qt, where we put symlinks into the Cellar/Frameworks and the frameworks linking code is a bit special to create a directory to "merge" together different versions of the same framework from different formulae. See `python` and `python3`; both install `Python.framework` and only one can be the `Current` but the other should still be put into `Python.framework/Versions`. Therefore `Python.framework` has to be a dir and no symlink.
2013-08-14Correct commentJack Nagel
2013-08-14Use each instead of while loopJack Nagel
2013-08-14Replace long conditional with guard clausesJack Nagel
2013-08-14Iterate over these directly rather than mapping firstJack Nagel
2013-08-14Return value of modify_build_environment is unimportantJack Nagel