aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-09-30 10:33:56 -0700
committerAdam Vandenberg2011-09-30 10:33:56 -0700
commit54191f1a0abe0f0817d04febd9690f6eecff4c6f (patch)
treedcc7358265fac697b93504ab91af17f0c2f7b75f /Library
parent4b1230ccc0e0ed70cc79449106e76cf5ebcc3933 (diff)
downloadhomebrew-54191f1a0abe0f0817d04febd9690f6eecff4c6f.tar.bz2
geos: force gcc on Lion
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/geos.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/geos.rb b/Library/Formula/geos.rb
index 220dea5d5..4253a017b 100644
--- a/Library/Formula/geos.rb
+++ b/Library/Formula/geos.rb
@@ -13,6 +13,9 @@ class Geos < Formula
def install
ENV.O3
+ # Force GCC 4.2 instead of LLVM-GCC on Lion, per MacPorts:
+ # https://trac.macports.org/ticket/30309
+ ENV.gcc_4_2 if MacOS.lion?
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end