diff options
| author | Adam Vandenberg | 2010-11-08 21:35:23 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2010-11-08 21:35:23 -0800 |
| commit | bdb9280a0ce2618b2fb85313b86a81146edfba83 (patch) | |
| tree | 38a97b2fac7e4b6da739be8a78693162904414a8 | |
| parent | 302be9cd5f0c8f04091ed15470385a7750079630 (diff) | |
| download | homebrew-bdb9280a0ce2618b2fb85313b86a81146edfba83.tar.bz2 | |
nspr - fix for Leopard
| -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 60f2f6c6a..13c0e974b 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? ? "-framework Carbon" : "" + target_frameworks = (Hardware.is_32_bit? or MACOS_VERSION == 10.5) ? "-framework Carbon" : "" inreplace "pr/src/Makefile.in", "-framework CoreServices -framework CoreFoundation", target_frameworks args = ["--prefix=#{prefix}", "--disable-debug", "--enable-strip", "--enable-optimize"] |
