Commit Graph
23 Commits
Author SHA1 Message Date
Jack Nagel bdaae65b9a Revert "Rename readline to gnu-readline"
This reverts commit adee531526.

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.
2012-11-10 21:12:26 -06:00
Jack Nagel adee531526 Rename readline to gnu-readline
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.

Fixes #15776.
2012-11-10 20:07:32 -06:00
Max Howell f14b572dae Clisp doesn't like -Os; Fixes #14698
superenv isn't flexible here yet, and I'd rather wait and see what else is needed before making it flexible in this way.
2012-10-01 13:21:02 -04:00
Jack Nagel cec477c3d4 clisp: remove skip_clean :all
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-13 12:55:41 -05:00
Jack Nagel 6b8d25f2d2 Clean up MacOS version method usage
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>
2012-09-10 16:16:54 -05:00
Max Howell b41ba217b1 Fixes #14571; clisp superenv issue 2012-08-30 20:02:28 -04:00
Adam Vandenberg 41b6985462 clisp: update homepage 2012-06-11 08:24:31 -07:00
Jack Nagel 8022bf4dc0 Fix more quoting issues
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 17:08:57 -05:00
Jack Nagel 497b13ac9e Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Camillo Lugaresi ee2c3abdc0 Remove spurious libiconv dependencies
OS X ships with iconv. glib failed to detect it, and this snowballed
into a few formulas requiring a superfluous duplicate install of
libiconv. All of the formulas in this commit compile without the
libiconv dependency.

jn:
The libiconv shipped with 10.5, 10.6, and 10.7 is version 1.11, so there
shouldn't be any cases of "10.x needs a newer libiconv but 10.y does
not".

In any case, we'll wait a week or so just in case any weird issues crop
up, and if not, then we can remove the libiconv formula and blacklist
it.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-02 22:22:16 -06:00
Nick Saika ee353780cf clisp: turn off optimization
Fixes some build issues on Lion.

Apparently it's enough to remove just the '-O' flags and preserve our
other optimization flags. This may only be needed on Lion, but frankly
clisp tends to have issues on all platforms so it's probably acceptable
to just disable it everywhere.

Closes #10450.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-24 19:35:04 -06:00
Jack Nagel be53f3050b Normalize MacPorts patch URLs
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-22 19:18:29 -06:00
Misty De Meo c514e168a3 clisp: builds with llvm on Xcode 3.2.6 2012-01-19 09:52:14 -06:00
Jack Nagel 32d8ed4fa3 clisp: fix LLVM builds
This patch from MacPorts seems to be all that is necessary to enable
building with LLVM-GCC. I can't test it with any LLVM builds other than
2336, though.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-18 17:47:01 -06:00
Jack Nagel 164c57f284 Add mirrors for GNU formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30 12:56:07 -06:00
Jack Nagel d0dfc22b50 Use automatic mirror selection for GNU downloads
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>
2011-09-12 15:08:20 -05:00
Adam Vandenberg 0271b14695 Be more explicit about paths in test methods 2011-09-01 13:00:28 -07:00
Adam Vandenberg f31ba22a19 clisp: disable self-check on Lion
The self check fails to run on Lion, though installation succeeds.
So skip the test, but warn the user.

Fixes #6905
2011-08-11 12:39:03 -07:00
Adam Vandenberg f4a925da5a Update fails_with_llvm in formulae 2011-03-25 23:31:30 -07:00
Adam Vandenberg 8e00ca8f84 clisp: does not compile with llvm 2011-03-19 14:06:10 -07:00
Adam Vandenberg 46c553ad43 Replace snow_leopard_64? in brews. 2011-03-18 10:30:47 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Tianyi Cui fdf6094389 New formula: clisp
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-31 15:09:43 -07:00