In 64 bit, --without-libsigsegv implies --disable-generational-gc
The build was failing for me, now at least it builds by disabling
libsigsegv it seems to work (on small programs)
ClosesHomebrew/homebrew#17576.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This reverts commit adee5315265cc46aa6a3057071527abb16e1cd94.
Turns out one of the "other things" is a dealbreaker.
We only create kegs using a formula's canonical name. However, we do not
check that this is the case when mapping existing kegs back to formula
objects, and thus a keg with a name that happens to be an alias can fool
Homebrew into thinking the canonically-named keg exists.
So anything that enumerates kegs and then tries to do stuff with the
resulting formula objects will just break. This is obviously worse than
the debugger being broken, so reverting this for the time being.
The Readline class clashes with the Readline module from the Ruby
stdlib. This has mostly worked, but with the recent debugging support's
integration of IRB, it is no longer possible for them to coexist. So we
need to rename it.
The implications of this are:
- Anything that depends on readline will reinstall it as
"gnu-readline". Anything already installed will continue to function.
- "brew upgrade readline" will say "gnu-readline not installed", as
"readline" is now an alias.
- Probably other things.
So there are some downsides, but we will just have to deal with them.
FixesHomebrew/homebrew#15776.
- Upgrade to version 3.2.4
- Add a deps on automake, libtool, and xz
- Add a build time dep on gawk. Fooling it with awk is lame
- Change to always require libffi and libsigsegv, fixes deprecated
- Leave the fails_with :llvm at build 2334 untested
- Add a `--tests` option to run the testsuite (which hangs atm)
- Apply the existing autoconf-2.61 patch expect when `--tests`
- Recreate the existing patch to stop it from failing at Hunk 2.
- Add a `--tcltk` option to build the Tk module using X11.
- Add a dep on X11 only if the user options tcltk.
- Add `--disable-gtk` flag to configure to be specific.
- Change `autoreconf` to always run, fixes build error.
FixesHomebrew/homebrew#15438ClosesHomebrew/homebrew#15470.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
It seems that the main GNU download site has issues in some places
outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick
a nearby mirror.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
"brew audit" will now warn about commented-out dependencies.
Updated formulae that had these to either take them out or rewrite
the comments around them.
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm",
to specifically message to the user when a formula is known or suspected
to not build with LLVM. If the user specifies "--use-llvm", the message
will be displayed, but compilation will be tried anyway.
Since using LLVM is now an advanced/hidden feature instead of the
default on 10.6, we'll let the user try anyway (and submit patches
if things are now working.)
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.