Commit graph

9 commits

Author SHA1 Message Date
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