aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/nspr.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-04-08 15:12:57 -0700
committerAdam Vandenberg2010-05-12 22:29:17 -0700
commit588c9fd4add9d6ddfdf3925fe1384375749b0adc (patch)
tree56eb3b65aff3a99809e4553a1b6ad89ab01d8d1f /Library/Formula/nspr.rb
parent135972d0912879e72b98b2b91cd9e0d3a142301d (diff)
downloadhomebrew-588c9fd4add9d6ddfdf3925fe1384375749b0adc.tar.bz2
Update nspr to 4.8.4
Diffstat (limited to 'Library/Formula/nspr.rb')
-rw-r--r--Library/Formula/nspr.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/nspr.rb b/Library/Formula/nspr.rb
index e337c42d8..527aed103 100644
--- a/Library/Formula/nspr.rb
+++ b/Library/Formula/nspr.rb
@@ -1,18 +1,19 @@
require 'formula'
class Nspr <Formula
- url 'http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.7.6/src/nspr-4.7.6.tar.gz'
+ url 'http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.8.4/src/nspr-4.8.4.tar.gz'
homepage 'http://www.mozilla.org/projects/nspr/'
- md5 'c78384602b4b466081a55025446641db'
+ md5 'a85bdbe1eb646aa32c785a37d8e3a2f5'
def install
- require 'hardware'
-
ENV.deparallelize
Dir.chdir "mozilla/nsprpub" do
+ # Fixes a bug with linking against CoreFoundation.
+ # See: http://openradar.appspot.com/7209349
+ # Needed to work with SpiderMonkey
inreplace "pr/src/Makefile.in", "-framework CoreServices -framework CoreFoundation", ""
- conf = %W[--prefix=#{prefix} --disable-debug --enable-strip --enable-optimize]
+ conf = ["--prefix=#{prefix}", "--disable-debug", "--enable-strip", "--enable-optimize"]
conf << "--enable-64bit" if Hardware.is_64_bit? and MACOS_VERSION >= 10.6
system "./configure", *conf