aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
AgeCommit message (Collapse)Author
2013-08-22superenv: fix CC value for ENV.gccMisty De Meo
'gcc' could refer to anything of llvm-gcc, clang, or gcc-4.0 on various Xcode versions.
2013-08-19Use ENV.prepend_pathJack Nagel
2013-08-19Use ENV.append_pathJack Nagel
2013-08-19Add ENV.append_pathJack Nagel
2013-08-19Fix typoJack Nagel
2013-08-19Use File::PATH_SEPARATOR globally instead of ':'Amos Wenger
On Unix, the path separator is ':', whereas on Windows, it is ';'. This is the first of a series of patch to bring macbrew's and winbrew's codebases closer together. The main places the magic constant ':' was being used were: - the $PATH environment variable - CMAKE-related environment variables - pkg-config related environment variables Closes #21921. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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-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-19Reference self, not ENV, in ENV.fortranJack Nagel
2013-08-19Move extra stdenv setup to extended callbackJack Nagel
2013-08-19Move common stuff to extend/ENV.rbJack Nagel
2013-08-16This is a backreference, not an embedded NULJack Nagel
2013-08-15ENV.universal_binary: use as_arch_flagsMisty De Meo
2013-08-15Add Hardware::CPU.arch_(32|64)_bitMisty De Meo
This replaces hardcoding of i386/x86_64 all over the code.
2013-08-13pathname: remove unused return valuesAdam Vandenberg
Return value was used only by one test, rewrote test to know expected value.
2013-08-13Improve checksum perf by providing an output bufferJack Nagel
2013-08-10Make usage of ObserverPathnameExtension more obviousJack Nagel
Remove use of globals. Closes #21795.
2013-08-05ENV: add usage note to ncurses_defineAdam Vandenberg
2013-07-22Pathname#write: don't check ARGV.force?Jack Nagel
Closes #21390.
2013-07-22typoPhil Smith
Closes #21385. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-19Add String#end_with?Jack Nagel
I'm tired of not remembering if start_with?/end_with? are portable, so just add them both if they're not defined.
2013-07-19Fix String#start_with? implementationJack Nagel
It is supposed to accept a variable number of prefixes, and also to check if they are convertible to strings. This matches behavior documented in RubySpec.
2013-07-17add ARGV.valueAdam Vandenberg
2013-07-13Handle NULs in link targets in Pathname#resolved_path_exists?Jack Nagel
Fixes #19475. Fixes #21184.
2013-07-11Remove unreachable branch in ENV.fortranJack Nagel
Now that this is handled by a Requirement with a default formula, this code cannot be triggered under normal circumstances. The advice given has now been moved to the Formula Cookbook on the wiki.
2013-07-06Don't use install_p directlyJack Nagel
2013-06-26ARGV: filter build-bottle from dependencies.Mike McQuaid
Fixes #20682.
2013-06-24Add Fortran ENV helpersAdam Vandenberg
2013-06-22ARGV: ensure ? methods return truth values.Mike McQuaid
2013-06-20Splatted parameter is always an arrayJack Nagel
2013-06-14Fix another constant referenceJack Nagel
2013-06-14Fix constant referenceJack Nagel
2013-06-14Favor compound if over compound unlessJack Nagel
2013-06-14Use ||= instead of unlessJack Nagel
2013-06-14Remove outdated commentJack Nagel
2013-06-14Assign this inlineJack Nagel
2013-06-14Delete rather than assign nilJack Nagel
2013-06-14Simplify nested conditionalJack Nagel
2013-06-14Use has_key? rather than accessing the valueJack Nagel
2013-06-14Rename single-letter variableJack Nagel
2013-06-14Make flag lists into constantsJack Nagel
2013-06-14ENV: clean up set_cpu_flags and set_cpu_cflags usageJack Nagel
2013-06-14Use Hardware::CPU moduleJack Nagel
2013-06-09Remove adamv-alt references.Adam Vandenberg
Closes #20364.
2013-06-08Add :ld64 dependencyMisty De Meo
This allows formulae which won't build with Tiger's ld to conditionally request a dependency on the ld64 formula. This modifies the build environment appropriately, and will only be active on Tiger.
2013-06-08Sniff for non-tarred gzipsAdam Vandenberg
Don't try to untar non-tarred gzips.
2013-06-08Add Enumerable#group_byJack Nagel