aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2014-05-01Remove outdated commentJack Nagel
2014-04-30outdated: allow forcing verbose outputAdam Vandenberg
Closes #27813.
2014-04-30--config -> configAdam Vandenberg
2014-04-30Superenv: determine_optflags should return a stringMisty De Meo
This is saved in HOMEBREW_OPTFLAGS and later mutated by ENV.universal_binary, so if this returns nil the sub will fail.
2014-04-30ENV/shared: handle untapped e.g. gcc48 formula.Mike McQuaid
In this case we need to handle the throwing on an exception when attempting to initialize the gcc48 Formula object. This initialization should be unnecessary if the core GCC is already installed and rescued if not.
2014-04-29Drop obsolete compiler fallback in stdenvJack Nagel
This code originated in a slightly different form in 8e88b22fd1ec65a344ce6e4facd6dad4b415b2ad: https://github.com/Homebrew/homebrew/blob/8e88b22fd1ec65a344ce6e4facd6dad4b415b2ad/Library/Homebrew/extend/ENV.rb#L30-L32 Back then, MacOS.default_compiler could return nil, which meant ENV.compiler could do the same. This code was carried forward as the surrounding code changed. At this point it should be unreachable.
2014-04-29Remove test that doesn't add valueJack Nagel
2014-04-29ENV/shared: use homebrew/versions GCC if installedMike McQuaid
Closes #28820.
2014-04-29Use MacOS.locate and delete wrong commentJack Nagel
2014-04-29Remove comment that no longer reflects adjacent codeJack Nagel
2014-04-29We don't use -Qunused-arguments anymoreJack Nagel
2014-04-29ENV.{cc,cxx} setters already set OBJC and OBJCXXJack Nagel
2014-04-29Make ENV.O4 a no-opJack Nagel
On older Apple compilers "-O4" is known to cause build errors. On recent clang, it's the same as "-O3" and you have to pass "-O3 -flto" to get the old behavior.
2014-04-27brew list --versions --multipleAdam Vandenberg
With --multiple, only list formulae with multiple versions installed.
2014-04-27run macports check after failed build instead of before every buildAndrew Potter
Closes #28717. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-04-27Respect tap directory layout when searchingJack Nagel
This matches the logic in find_formula.
2014-04-27Use canonical_name to canonicalize aliasesJack Nagel
2014-04-27Search results should always be sortedJack Nagel
2014-04-27Use Formulary.factory to find formula in tapsJack Nagel
2014-04-26Explicitly pass key-value options to the build processJack Nagel
Fixes #28695.
2014-04-25Yield absolute paths from find_formulaJack Nagel
2014-04-25Pass around only absolute paths when dealing with tapsJack Nagel
2014-04-25Build relative paths using resolved_path and relative_path_fromJack Nagel
2014-04-25Less code in begin clauseJack Nagel
2014-04-25Extract some boilerplate into an each_tap methodJack Nagel
2014-04-24Don't use a regexp to match paths, just compare them for equalityJack Nagel
2014-04-24Pass arguments instead of reopening PathnameJack Nagel
2014-04-24Using existing method to make tap symlinksJack Nagel
2014-04-24Make the on-disk representation of taps unambiguousTsukasa OMOTO
This commit supports "-" and "_" in names of user and repository. Closes #28203. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-23separate the brew info for multiple formulaeDan Martinez
Closes #27311. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-04-23Migrate apple-gcc42 back to homebrew/versions.Mike McQuaid
Closes #28418.
2014-04-23Use gcc instead of apple-gcc42 when needed.Mike McQuaid
2014-04-23LICENSE: move to root folder.Mike McQuaid
This is where people expect to find it so let's make it easier. Closes #28418.
2014-04-23Support core GCC formula as a GCC compiler.Mike McQuaid
It is activated by the same mechanism as the Homebrew/versions compilers which now check if the GCC formula uses the same, correct version. References #28418.
2014-04-23shared: don't warn about non-Apple compilers now.Mike McQuaid
2014-04-23formula: move cxxstdlib methods to the class.Mike McQuaid
This allows disabling this checks when e.g. pouring bottles.
2014-04-22Only directories are candidates for superenv binJack Nagel
2014-04-22Simplify conditions for superenv activationJack Nagel
`MacOS::Xcode.without_clt? && MacOS.sdk_path.nil?` should never be true. In its earliest form, this would raise a bare RuntimeError in an effort to have the bug reported. Later, it was changed to silently disable superenv. But we don't want to do that. If there's a bug, or the user's system is misconfigured, we want to know, so that we can fix the bug, or the user can fix their system. So let's remove the condition.
2014-04-21The argument to MacOS.locate is always a stringJack Nagel
2014-04-21rewrite TeX requirement messageMario Mueller
Closes #28588. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-04-21Only check Xcode prefix when non-nilJack Nagel
2014-04-21Remove comments that no longer reflect any adjacent codeJack Nagel
2014-04-21Don't test jruby deps since it makes the tests slowJack Nagel
2014-04-21Adjust installer for updated link error handlingJack Nagel
2014-04-21Adjust link command for updated error handlingJack Nagel
2014-04-21Raise AlreadyLinkedError when a keg is already linkedJack Nagel
2014-04-21Only unlink after a LinkErrorJack Nagel
2014-04-21Raise useful errors from make_relative_symlinkJack Nagel
2014-04-21Rework make_relative_symlink error handling and move it into kegJack Nagel
2014-04-21Fix keg version in Formula#to_hashFinn Smith
Closes #28550. Signed-off-by: Jack Nagel <jacknagel@gmail.com>