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.
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.
"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.
The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Includes a patch by Lincoln Myers <lincoln_myers@yahoo.com>,
fixing a recently introduced compilation bug on OSX.
Patch is already included upstream, and will be in libvirt 0.9.11.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
- Enabled support for VirtualBox by default - Removed support for qemu,
since there is no OS X support, because according to libvirt
"./configure --help" qemu is installed by default with the argument
"--with-qemu=yes" unless otherwise specified
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Added dependencies specific to Leopard (10.5), that may also be
applicable to earlier releases. Thanks to Ruben Kerkhof for the
initial bug reports, plus assistance in testing and trying things
out.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Based upon a development snapshot between the 0.8.4 and 0.8.5 releases,
where libvirt is now known to compile and run on MacOS X.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>