6354 Commits

Author SHA1 Message Date
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
Jack Nagel
f0bffe8043 Undocument search features that no longer exist
Due to the fragility of the code, this functionality was removed in
recent refactorings of the tap code.

It is possible to restore these features, but it needs to be done in
a cleaner, more maintainable way.

Closes Homebrew/homebrew#29585.
2014-05-26 12:16:08 -05:00
Jack Nagel
84251bd44f Fix formula path usage in brew-gist-logs
Formula#path can no longer be a symlink.
2014-05-26 11:19:16 -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
Ches Martin
95dfda6ca8 bash completion for brew list --multiple
As per 9ab605c7f1883 removal of `brew dirty`. `--multiple` *implies*
`--versions`, thus IMO it shouldn't be necessary to also explicitly
include the `--versions` option, but that's a separate matter. For now
this offers the small added convenience of:

    $ brew list --m<TAB><TAB>

to quickly expand the `brew dirty` equivalent.

Closes Homebrew/homebrew#29571.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-05-25 09:48:29 -07:00
Peter Aronoff
8a08d10114 brew-desc: Add a mention of brew-desc to README
Closes Homebrew/homebrew#29555.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-24 17:10:20 -05: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
Alex Burka
840a5c7418 fix HTTP 422 when gist-logs sends an empty file
Closes Homebrew/homebrew#29476.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-22 20:49:26 -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
Sergei Silnov
a64f2e737c Refurbish two more flags not supported by clang
'-fno-tree-pre' and '-fno-tree-dominator-opts'

Closes Homebrew/homebrew#29452.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-21 11:38:40 -05: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
Jack Nagel
19f9d0aaf1 Remove example that is generally not required 2014-05-19 23:53:12 -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