mxcl/homebrew — Issue #8434: Formula that are broken on Lion by ENV.gcc
Author: 2bits
Created: 2011-11-03 20:57:13+00:00
State: open

These formula contain ENV.gcc or ENV.gcc_4_2 which will not work with Lion anymore due to XCode not including gcc & g++:

* [geos](https://github.com/mxcl/homebrew/blob/master/Library/Formula/geos.rb)
* [gmp](https://github.com/mxcl/homebrew/blob/master/Library/Formula/gmp.rb)
* [mosh](https://github.com/mxcl/homebrew/blob/master/Library/Formula/mosh.rb)
* [mplayer](https://github.com/mxcl/homebrew/blob/master/Library/Formula/mplayer.rb)
* [scsh](https://github.com/mxcl/homebrew/blob/master/Library/Formula/scsh.rb)

There are no formula examples on how to fix this, because these broken ones are the only ones that compiled solely with gcc.
There is one other formula, [pixman](https://github.com/mxcl/homebrew/blob/master/Library/Formula/pixman.rb), that uses the ENV.gcc_4_2 flag, but it seems to be coded to correctly avoid the Lion
problem, but this is not a useful example how to fix the above formula because pixman compiles with clang.