diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/nss.rb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Library/Formula/nss.rb b/Library/Formula/nss.rb index df0bcf054..fa4f53b04 100644 --- a/Library/Formula/nss.rb +++ b/Library/Formula/nss.rb @@ -4,7 +4,7 @@ class Nss < Formula homepage "https://developer.mozilla.org/docs/NSS" url "https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_17_4_RTM/src/nss-3.17.4.tar.gz" sha256 "1d98ad1881a4237ec98cbe472fc851480f0b0e954dfe224d047811fb96ff9d79" - revision 1 + revision 2 bottle do cellar :any @@ -13,6 +13,12 @@ class Nss < Formula sha1 "83a0cf6db62ff865b07347c4a94361869715e6b0" => :mountain_lion end + keg_only <<-EOS.undent + Having this library symlinked makes Firefox pick it up instead of built-in, + so it then randomly crashes without meaningful explanation. + + Please see https://bugzilla.mozilla.org/show_bug.cgi?id=1142646 for details. + EOS depends_on "nspr" def install @@ -22,8 +28,8 @@ class Nss < Formula args = [ "BUILD_OPT=1", "NSS_USE_SYSTEM_SQLITE=1", - "NSPR_INCLUDE_DIR=#{HOMEBREW_PREFIX}/include/nspr", - "NSPR_LIB_DIR=#{HOMEBREW_PREFIX}/lib" + "NSPR_INCLUDE_DIR=#{Formula["nspr"].opt_include}/nspr", + "NSPR_LIB_DIR=#{Formula["nspr"].opt_lib}" ] args << "USE_64=1" if MacOS.prefer_64_bit? |
