diff options
| author | Adam Vandenberg | 2011-04-08 11:16:37 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-09 09:36:30 -0700 |
| commit | b782d9da90d561638d9697a98d99faaa61b64453 (patch) | |
| tree | 402c7460717df2d37ce48c61960b121fb74941a5 /Library/Formula/nspr.rb | |
| parent | b5b6da2c6c27b9784808329c2c9b45f1976647a9 (diff) | |
| download | homebrew-b782d9da90d561638d9697a98d99faaa61b64453.tar.bz2 | |
Normalize use of MACOS_VERSION
Diffstat (limited to 'Library/Formula/nspr.rb')
| -rw-r--r-- | Library/Formula/nspr.rb | 2 |
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"] |
