Fixes Homebrew/homebrew#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.
master
Max Howell 2010-02-17 15:16:38 +00:00
parent 4cce89ebe2
commit 9c930ab6f4
1 changed files with 1 additions and 1 deletions

View File

@ -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