aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/nspr.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/nspr.rb')
-rw-r--r--Library/Formula/nspr.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/nspr.rb b/Library/Formula/nspr.rb
index 9ab75df65..24ac8b152 100644
--- a/Library/Formula/nspr.rb
+++ b/Library/Formula/nspr.rb
@@ -10,7 +10,7 @@ class Nspr < Formula
Dir.chdir "mozilla/nsprpub" do
# Fixes a bug with linking against CoreFoundation, needed to work with SpiderMonkey
# See: http://openradar.appspot.com/7209349
- target_frameworks = (Hardware.is_32_bit? or MACOS_VERSION == 10.5) ? "-framework Carbon" : ""
+ target_frameworks = (Hardware.is_32_bit? or MacOS.leopard?) ? "-framework Carbon" : ""
inreplace "pr/src/Makefile.in", "-framework CoreServices -framework CoreFoundation", target_frameworks
args = ["--prefix=#{prefix}", "--disable-debug", "--enable-strip", "--enable-optimize"]