Jack Nagel
faa77e8283
Remove --use-gcc and friends from completion scripts
2013-11-03 11:48:09 -06:00
Jack Nagel
4e2c45f5d1
Undocument --use-gcc and friends
...
These options are deprecated in favor of --cc=<compiler>, so there is no
need to continue advertising their existence.
2013-11-03 11:48:09 -06:00
Jack Nagel
a2d9271bda
Remove intermediate exception in Formula#system
...
Now that ErrorDuringExecution is only raised in one place, we can just
raise the BuildError directly instead.
2013-11-02 22:52:24 -05:00
Jack Nagel
aafae73cf9
Fix regression in brew deps
...
The default mode is intended to display recursive dependencies, with the
`--1` flag to display only one level.
2013-11-02 22:22:45 -05:00
Xiyue Deng
917b94df98
Add cxxstdlib_check method to request changing C++ stdlib checking.
...
* In certain cases, a C++ software may result in linking to a different
and incompatible C++ standard library than its dependencies and still
works fine because it is by design. Examples include GCC, which will
bootstrap itself and self-host after finish.
* Add a cxxstdlib_check method to formula to request changing the C++
standard library checking. Currently using "cxxstdlib_check :skip"
will let a formula skip such checking. This should only be used on
rare occasions and be very careful.
Closes Homebrew/homebrew#23687 .
2013-11-02 17:30:05 -07:00
Xiyue Deng
6fc6dd791b
stdenv: drop space between "-isystem" and path.
...
* This is consistent with superenv.
2013-11-02 01:47:35 -07:00
Mike McQuaid
e24bcba00a
update: check if Cellar exists instead of factory.
...
Fixes Homebrew/homebrew#23881 .
2013-11-01 23:23:14 -07:00
Jack Nagel
a0a341c297
cc: disable make_fuss during configure
...
Fixes Homebrew/homebrew#23885 .
2013-11-02 00:43:17 -05:00
Jack Nagel
8ce3a9f168
cc: ensure wrapper output is always flushed
2013-11-01 23:16:17 -05:00
Jack Nagel
4a5b65c9f5
Remove "-c1" one-line config
...
This is broken and nobody noticed, so remove it.
Closes Homebrew/homebrew#23878 .
2013-11-01 19:04:04 -05:00
Jack Nagel
0aa7457b79
Fix CLT latest version check for 10.8/9
...
Closes Homebrew/homebrew#23874 .
2013-11-01 18:58:19 -05:00
Jack Nagel
a4d630003d
Add pkgutil version for XQuartz 2.7.5_rc3
2013-11-01 16:04:52 -05:00
Mike McQuaid
bdbaf61304
python_dependency: fix includes location on 10.9.
...
Fixes Homebrew/homebrew#23837 .
Fixes Homebrew/homebrew#23866 .
2013-11-01 11:19:23 -07:00
Mike McQuaid
fd254c3874
bottle: improve written bottle output.
2013-10-31 19:03:31 -07:00
Mike McQuaid
3f489e1eed
bottle: write to relative path if exists.
2013-10-31 18:21:03 -07:00
Mike McQuaid
b0bf181788
install: search when formula isn't found.
2013-10-31 17:20:00 -07:00
Elliot Saba
c20f6395bb
bottle: improve relocatable debugging.
...
* When Homebrew developer mode is enabled, if a bottle is not found to
be relocatable attempt to explain why
* Print out paths of each file that still contains the string search for
* If the string searched for was found in an executable, check to see
if `otool` can explain the string's appearance
* If otool can't explain, see if `strings` can explain
Closes Homebrew/homebrew#23824 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-31 17:12:36 -07:00
Mike McQuaid
d311fe666c
Allow configuring HOMEBREW_LOGS.
2013-10-31 17:02:20 -07:00
Mike McQuaid
37e2005e79
Use HOMEBREW_LOGS more consistently.
2013-10-31 17:02:20 -07:00
Jack Nagel
80c7a80a46
Remove duplicate test
2013-10-31 14:49:23 -05:00
Jack Nagel
3f2782e22d
fetch: check for existing cache file before downloading
2013-10-31 14:29:48 -05:00
Jack Nagel
d35e465671
fetch: clear partial downloads when --force is given
...
Fixes Homebrew/homebrew#23764 .
2013-10-31 14:29:38 -05:00
Stefan
71f0ad069d
Generate logs in verbose mode
...
Closes Homebrew/homebrew#23654 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-10-31 14:24:48 -05:00
Jack Nagel
643469a17c
sh: only activate X11 if it's installed
...
Fixes Homebrew/homebrew#23835 .
2013-10-31 14:20:29 -05:00
Misty De Meo
655c6f79b4
Hardware::CPU: add extmodel helper
2013-10-30 19:14:07 -07:00
Brian Stolz
0f612f8459
Add Hardware::CPU.ssse3? helper method.
...
Closes Homebrew/homebrew#23796 .
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-10-30 18:44:03 -07:00
Mike McQuaid
a28b57d3fb
git-etc: remove all code.
...
I've given up on this; too many edge cases.
If someone else wants to pick it up then send me a message and I'll walk
you through the approach.
2013-10-30 16:15:31 -07:00
Mike McQuaid
d9d2443d5d
Cleanup use of some global constants.
2013-10-30 13:20:48 -07:00
Mike McQuaid
d6ffd493a6
deps: don't use symbol-like output by default.
2013-10-30 13:13:41 -07:00
Mike McQuaid
8e75e3e043
doctor: strengthen osx-gcc-installer warning.
...
We hate it and we should tell people why.
Next step may be blocking it altogether.
2013-10-30 11:28:38 -07:00
Mike McQuaid
ce8123badd
install: print osx-gcc-installer doctor warning.
2013-10-30 11:28:37 -07:00
Mike McQuaid
d31e069ed3
update: automatically tap migrated formulae.
...
When a formula is removed from core and installed let's tap it so users
can get updates without caring which tap we want to put things in.
This should allow us to migrate a lot of things to taps.
Closes Homebrew/homebrew#23760 .
2013-10-30 11:24:21 -07:00
Mike McQuaid
1c5b1d745e
Add tap migrations file.
2013-10-30 11:21:54 -07:00
Mike McQuaid
55947f84a5
exceptions: direct to correct tap on failure.
...
Closes Homebrew/homebrew#23757 .
2013-10-30 11:20:20 -07:00
Mike McQuaid
4c0fd46329
Formula: add tap? method.
2013-10-30 11:20:02 -07:00
Mike McQuaid
202c6ef826
global: add more tap regexes.
2013-10-30 11:19:46 -07:00
Mike McQuaid
868b4f8bea
uses: display requirements.
...
Closes Homebrew/homebrew#23758 .
2013-10-30 10:48:53 -07:00
Mike McQuaid
34d836872f
deps: display requirements default_formulae.
2013-10-30 10:48:53 -07:00
Mike McQuaid
a252c90a0d
doctor: ensure git --version actually matches.
...
Closes Homebrew/homebrew#23791 .
2013-10-30 10:34:04 -07:00
Jack Nagel
9966943a34
Resource: extract unpacking from #stage
...
Closes Homebrew/homebrew#23768 .
2013-10-30 10:43:57 -05:00
Jack Nagel
2dd44f7791
Resource: push conditional down into #verify_download_integrity
2013-10-30 10:16:20 -05:00
Jack Nagel
a5b2814770
Use curl to download list of Apache mirrors
...
Ruby's OpenURI library is somewhat broken under 1.8 and chokes on
otherwise valid values of http(s)_proxy. Use curl to get the mirror list
instead.
Fixes Homebrew/homebrew#23708 .
2013-10-30 00:11:46 -05:00
Adam Vandenberg
d9f327083b
add unlink apps to manpage and completion
2013-10-29 21:07:21 -07:00
Teo Ljungberg
95305e6256
New command: brew unlinkapps
...
The name is pretty self explanatory, it unlinks all installed
applications found under `brew --prefix` from either `~/Applications` or
`/Applications`
Closes Homebrew/homebrew#22729 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-10-29 21:04:25 -07:00
Jack Nagel
076df32be3
Add ant dependency
...
Closes Homebrew/homebrew#23484 .
Closes Homebrew/homebrew#23494 .
Closes Homebrew/homebrew#23681 .
2013-10-28 14:44:20 -05:00
Misty De Meo
64b472788a
Mac.prefer_64_bit?: fix conditional for 10.4
2013-10-28 08:41:57 -07:00
Mike McQuaid
42c9ecd665
Bottle: handle legacy bottle OS tags.
...
Otherwise :mountainlion, :snowleopard in the history for CMake breaks
bottle_filenames from versions for new CMake bottles.
2013-10-28 10:50:02 +00:00
Mike McQuaid
fdc08424af
versions: fix bottle_filenames.
...
Previously if a bottle had no checksum for a particular platform (i.e.
currently there are no Mavericks bottles) then it would generate a
different revision (and thus filename) to the rest of the bottles being
generated which meant bottles needed to be manually renamed.
Instead check the actual bottle object's checksums to make sure that
we've looked at the previous bottles for all platforms rather than just
the current one.
2013-10-28 10:26:04 +00:00
Jack Nagel
f01a38772a
Fix md5 compat layer
...
Fixes Homebrew/homebrew#23653 .
2013-10-27 12:43:14 -05:00
Stefan
0a1df377fb
fix build log output
...
Closes Homebrew/homebrew#23669 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-10-27 09:48:15 -07:00