From 54191f1a0abe0f0817d04febd9690f6eecff4c6f Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 30 Sep 2011 10:33:56 -0700 Subject: geos: force gcc on Lion --- Library/Formula/geos.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3