4625 Commits

Author SHA1 Message Date
Jack Nagel
56b041ca25 Extract history introspection from "versions" command 2014-05-28 16:23:33 -05:00
Jack Nagel
17a27d3464 versions: remove --compact option 2014-05-28 14:03:06 -05:00
Jack Nagel
c49e23e77a versions: don't recreate the relative path on each iteration 2014-05-28 14:02:06 -05:00
Jack Nagel
22e3e6c1e6 versions: use path attribute instead of reconstructing it 2014-05-28 14:01:13 -05:00
Jack Nagel
ecc01317b8 versions: drop redundant pathname creation 2014-05-28 14:00:26 -05:00
Jack Nagel
985eadbe69 Fix brew-versions for taps with a Formula directory 2014-05-28 12:53:11 -05:00
Jack Nagel
c90247aa44 Place X11 ahead of OpenGL when X11 is active
Fixes Homebrew/homebrew#29651.
2014-05-28 09:23:36 -05:00
Adam Vandenberg
2c61e3c02a --help and --version only apply as first argument
This fixes external commands that provide their own
help and version subcommands.

Closes Homebrew/homebrew#26755.
2014-05-27 21:03:05 -07:00
Jack Nagel
f446e95852 Remove support for version "schemes", just pass version objects directly
I'm not sure why I thought reinventing object instantiation was a good
idea.
2014-05-27 21:41:43 -05:00
Jack Nagel
33cdff99ba Make some constant strings into actual constants
We only need one copy of each of these strings, not ~7500.
2014-05-27 21:16:15 -05:00
Jack Nagel
28fa5b0261 Remove some evals from formula DSL
The default arguments were removed from these methods long ago, so
nothing is standing in the way of using define_method here.
2014-05-27 21:03:47 -05:00
Jack Nagel
152490b7b0 Fix overzealous regex 2014-05-26 21:31:04 -05:00
Jack Nagel
105f77745c Add failing test for parsing version from erlang bottle filename 2014-05-26 21:30:46 -05:00
Adam Vandenberg
8d44db6b40 pluralize formulae in tap/untap
Closes Homebrew/homebrew#28560.
2014-05-26 18:33:31 -07:00
Jack Nagel
6eb220d78f Share code for sanitizing ENV between both build environments 2014-05-26 14:10:24 -05:00
Adam Vandenberg
45f09cd9c3 Move appledoc to boneyard
No Xcode 5.1 support.

Closes Homebrew/homebrew#29488.
2014-05-26 08:03:22 -07:00
Jack Nagel
ff12b0e361 Skip over "mirror" lines when inserting bottle block 2014-05-23 20:42:36 -05:00
Jack Nagel
1e638331ad Try to match unused symbol deps last 2014-05-23 13:13:31 -05:00
Jack Nagel
d69be7f619 Add ENV.m64 to superenv 2014-05-22 09:18:34 -05:00
Jack Nagel
d61615890f Fix ENV.m32 under superenv 2014-05-22 09:18:34 -05:00
Adam Vandenberg
a9a5c53d75 fix permisions on tests 2014-05-21 16:56:10 -07:00
Adam Vandenberg
bba2b76167 add start and stop as generic executables 2014-05-21 09:03:51 -07:00
Jack Nagel
4f014836f2 Prefer pathname methods over regexp matching 2014-05-21 10:54:24 -05:00
Adam Vandenberg
c6f1ccc215 make tests an internal command 2014-05-21 08:27:13 -07:00
Jack Nagel
b2b74260db Remove obsolete text 2014-05-20 23:23:41 -05:00
Jack Nagel
6278ffdba0 Remove ENV variable that is no longer used 2014-05-20 23:22:24 -05:00
Jack Nagel
fe597c00df Don't fetch the value just to throw it away 2014-05-20 23:18:18 -05:00
Jack Nagel
2d049ae05b Stop using superenv? method to dump ENV 2014-05-20 23:16:52 -05:00
Jack Nagel
25e6c6f120 Don't try to lock the same formula more than once
Fixes Homebrew/homebrew#28765.
2014-05-20 22:50:21 -05:00
Jack Nagel
ad7adcee97 Remove dead code 2014-05-20 19:12:06 -05:00
Jack Nagel
2295c1cc8a Alphabetize tap migrations 2014-05-20 11:46:54 -05:00
Jack Nagel
92c359c3e7 Move appswitch to homebrew-binary 2014-05-20 11:42:04 -05:00
Adam Vandenberg
2d47a5f259 blacklist: gfortran is now part of gcc 2014-05-19 16:03:41 -07:00
Adam Vandenberg
8ca7124cbc blacklist: remove gcc 2014-05-19 16:03:41 -07:00
Jack Nagel
c5bcd99eb4 Re-enable Xcode-only support on 10.9
Closes Homebrew/homebrew#29377.
2014-05-19 14:41:03 -05:00
Jack Nagel
b894d6e246 Set sysroot for non-clang compilers on 10.9
Although the correct sysroot is built into Apple's tools on 10.9, we
need to continue setting it for custom compilers.
2014-05-19 14:41:03 -05:00
Jack Nagel
613292e3ce Reorganize superenv include and library path setup
I found the dual use of CMAKE_*_PATH variables to make it difficult to
reason about this code. Now a separate set of variables are used to
communicate with the cc wrapper, and less work is performed in the
wrapper itself.

We no longer pass the SDK include path as a -isystem directory on
Xcode-only setups. Doing so is redundant with `--sysroot` and has other
side effects, namely changing the include path search order, which can
break compilation of some software (e.g. qemu).

On Xcode-only 10.9, we can additionally omit `--sysroot`, as the correct
paths are built into the tools.

A new variable, HOMEBREW_SYSROOT, is used to this information to the
wrapper. It will be unset on Xcode-only 10.9. HOMEBREW_SDKROOT will
continue to be set, as it is used for other things besides setting the
include search path.
2014-05-19 14:41:02 -05:00
Jack Nagel
10bd849bd3 Remove CLTDependency
Closes Homebrew/homebrew#29379.
2014-05-19 10:37:45 -05:00
Jack Nagel
f6fda5651b Remove deprecated --use-{gcc,llvm,clang}
Closes Homebrew/homebrew#29380.
2014-05-19 10:37:45 -05:00
Jack Nagel
4676045bdd Less snark 2014-05-18 17:43:07 -05:00
Adam Vandenberg
48a7981c78 always use a top-level array for info JSON
Closes Homebrew/homebrew#29318.
2014-05-18 15:33:43 -07:00
Jack Nagel
16c073a153 Remove hardcoded reference to ENV 2014-05-18 14:41:49 -05:00
Jack Nagel
930cf4c768 Add accessor for HOMEBREW_CC 2014-05-18 14:34:31 -05:00
Jack Nagel
ff9bbe941b ENV.cc= and ENV.cxx= are private 2014-05-18 14:34:31 -05:00
Jack Nagel
9e8d419070 Use a case statement 2014-05-18 14:23:45 -05:00
Adam Vandenberg
dfea2b6045 Move tetgen to homebrew-science
Closes Homebrew/homebrew#29336.
2014-05-17 17:09:32 -07:00
Adam Vandenberg
2cb923649c only clean logs if logs exist
Closes Homebrew/homebrew#29355.
2014-05-17 16:59:14 -07:00
Jack Nagel
fbf1c189a7 Move brew-unpack to core 2014-05-17 17:12:40 -05:00
Adam Vandenberg
b57e97cde3 Move agedu to headonly
The checksum on the tarball is not stable.

Closes Homebrew/homebrew#26671.
2014-05-16 16:27:54 -07:00
Mike McQuaid
326d3e07e9 fortran_dependency: use gcc instead of gfortran. 2014-05-16 17:42:07 +01:00