aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2010-02-17 15:16:38 +0000
committerMax Howell2010-02-17 15:16:38 +0000
commit5ecc899de2174f5c28efb0c52e23941bf430f8af (patch)
treef463c2715c1eee695eec2f9f3dc7afb3a1b16a50 /Library
parentff5ce16bee6e2427052fb3ec792ae8f05419eedf (diff)
downloadhomebrew-5ecc899de2174f5c28efb0c52e23941bf430f8af.tar.bz2
Fixes #607; nspr fails to build
The build was failing under various conditions due to the removal of some link flags at: 26b760ba4f92d67edadae5d3e6b70ff98867fcef Linking to Carbon is at least required on 10.5 and also for some 10.6 users.
Diffstat (limited to 'Library')
-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 bef0c3d98..25cef933e 100644
--- a/Library/Formula/nspr.rb
+++ b/Library/Formula/nspr.rb
@@ -10,7 +10,7 @@ class Nspr <Formula
ENV.deparallelize
Dir.chdir "mozilla/nsprpub" do
- inreplace "pr/src/Makefile.in", "-framework CoreServices -framework CoreFoundation", ""
+ inreplace "pr/src/Makefile.in", "-framework CoreServices -framework CoreFoundation", "-framework Carbon"
conf = %W[--prefix=#{prefix} --disable-debug --enable-strip --enable-optimize]
conf << "--enable-64bit" if Hardware.is_64_bit? and MACOS_VERSION >= 10.6