aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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