aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bdw-gc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/bdw-gc.rb')
-rw-r--r--Library/Formula/bdw-gc.rb11
1 files changed, 5 insertions, 6 deletions
diff --git a/Library/Formula/bdw-gc.rb b/Library/Formula/bdw-gc.rb
index 8a270e719..20932e21a 100644
--- a/Library/Formula/bdw-gc.rb
+++ b/Library/Formula/bdw-gc.rb
@@ -8,13 +8,12 @@ class BdwGc < Formula
fails_with_llvm "LLVM gives an unsupported inline asm error"
def install
- if 10.6 <= MACOS_VERSION
- # ucontext has been deprecated in 10.6
- # use this flag to force the header to compile
- ENV.append 'CPPFLAGS', "-D_XOPEN_SOURCE"
- end
+ # ucontext has been deprecated in 10.6
+ # use this flag to force the header to compile
+ ENV.append 'CPPFLAGS', "-D_XOPEN_SOURCE" if MacOS.snow_leopard?
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
system "make install"
end
end