Commit graph

26 commits

Author SHA1 Message Date
Jack Nagel
2f216f9cf8 clisp: use checksummed patches 2014-03-16 19:35:06 -05:00
Ted Pennings
4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00
Jack Nagel
54603da5fa clisp: enable superenv 2013-11-12 13:53:29 -06:00
Jack Nagel
8c29982153 Revert "Rename readline to gnu-readline"
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.
2012-11-10 21:12:26 -06:00
Jack Nagel
e2f9856882 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 Homebrew/homebrew#15776.
2012-11-10 20:07:32 -06:00
Max Howell
00f772f0f7 Clisp doesn't like -Os; Fixes Homebrew/homebrew#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
ab67c3ea0c clisp: remove skip_clean :all
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-13 12:55:41 -05:00
Jack Nagel
53473b6bf5 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
f53a93dd92 Fixes Homebrew/homebrew#14571; clisp superenv issue 2012-08-30 20:02:28 -04:00
Adam Vandenberg
b8fb3c8941 clisp: update homepage 2012-06-11 08:24:31 -07:00
Jack Nagel
63cde03be4 Fix more quoting issues
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 17:08:57 -05:00
Jack Nagel
64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Camillo Lugaresi
0cfb74692f 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
f3de375947 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 Homebrew/homebrew#10450.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-24 19:35:04 -06:00
Jack Nagel
f088a08e87 Normalize MacPorts patch URLs
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-22 19:18:29 -06:00
Misty De Meo
2515b81f01 clisp: builds with llvm on Xcode 3.2.6 2012-01-19 09:52:14 -06:00
Jack Nagel
3f5e5ddddf 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
83fcafb5aa Add mirrors for GNU formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30 12:56:07 -06:00
Jack Nagel
fa3d89a7c0 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
742fe1bde1 Be more explicit about paths in test methods 2011-09-01 13:00:28 -07:00
Adam Vandenberg
d3d234567b 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 Homebrew/homebrew#6905
2011-08-11 12:39:03 -07:00
Adam Vandenberg
99b61b9a23 Update fails_with_llvm in formulae 2011-03-25 23:31:30 -07:00
Adam Vandenberg
cfd9b1d807 clisp: does not compile with llvm 2011-03-19 14:06:10 -07:00
Adam Vandenberg
7689fb8fd2 Replace snow_leopard_64? in brews. 2011-03-18 10:30:47 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Tianyi Cui
43b1e1f837 New formula: clisp
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-31 15:09:43 -07:00