Commit graph

14 commits

Author SHA1 Message Date
Max Howell
ca51063656 SDL won't build with newest LLVM-GCC :(
Closes Homebrew/homebrew#7363.
2011-09-01 14:35:33 +01:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg
6c216d5767 SDL assumes X11, so check for it 2010-10-30 08:21:17 -07:00
Paul O'Neil
58c4c1966f Added a HEAD version of SDL for SDL 1.3
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-04 12:34:03 -07:00
Adam Vandenberg
0eb00ed337 sdl - remove unused configure switches 2010-07-31 10:25:19 -07:00
Adam Vandenberg
e1bb919734 Add "fails_with_llvm" to formula to document LLVM build breaks.
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.)
2010-06-16 11:50:36 -07:00
Adam Vandenberg
193a78de04 Use more inreplace features.
Update formulas to make more idiomatic use of "inreplace", including
its new ability to take a list of files to act on.
2010-02-21 23:37:49 -08:00
Max Howell
5ce0734c8b Fix SDL pc files and sdl-config
So many tools expect all SDL modules to be installed in the same place. So we have to change the prefix path to HOMEBREW_PREFIX. This is probably the correct thing to do in general in fact.
2009-10-23 19:22:51 +01:00
Adam Vandenberg
bdf0a8b8f9 Update SDL for Snow Leopard. Add libmikmod. 2009-10-20 20:12:30 -07:00
Max Howell
61b2307139 s/require 'brewkit'/require 'formula'/g
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.
2009-10-15 16:48:03 +01:00
Adam Vandenberg
5b067d5c95 SDL now copies Objective-C support files.
Mac OS X projects that use SDL through Objective-C may
require the "SDLmain" support files.

Since these are not strictly header files, they are not
installed into include by default, so we put them in our
libexec folder.
2009-09-29 23:33:22 +01:00
Max Howell
e802b7f00b FIX SDL closes Homebrew/homebrew#42
Don't use LLVM to compile this code.
2009-09-29 15:46:34 +01:00
Max Howell
7fad0c4cf9 SDL on 10.6
Using MacPorts patch. We need their people!
2009-09-21 23:51:18 +01:00
Adam Vandenberg
9faf689de1 Formula for SDL. 2009-08-31 01:46:19 +01:00