aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorRuby2015-03-16 21:25:13 +0700
committerMike McQuaid2015-03-17 09:38:58 +0000
commitb9d5819b30e0e1fd94ba17660b2229d6fb096fbf (patch)
tree58874047be023ee357aaa101f73ac85dec8f5f62 /Library/Formula
parentb20ee32d77484021ec50f9b30cb4cc8ca19faf98 (diff)
downloadhomebrew-b9d5819b30e0e1fd94ba17660b2229d6fb096fbf.tar.bz2
spidermonkey: work with keg-only nspr.
For details, please see https://bugzilla.mozilla.org/show_bug.cgi?id=1142646
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/spidermonkey.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/spidermonkey.rb b/Library/Formula/spidermonkey.rb
index 08536e6d8..2759acb74 100644
--- a/Library/Formula/spidermonkey.rb
+++ b/Library/Formula/spidermonkey.rb
@@ -5,6 +5,7 @@ class Spidermonkey < Formula
url 'http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz'
version '1.8.5'
sha1 '52a01449c48d7a117b35f213d3e4263578d846d6'
+ revision 1
head 'https://hg.mozilla.org/tracemonkey/archive/tip.tar.gz'
@@ -33,6 +34,7 @@ class Spidermonkey < Formula
"--enable-readline",
"--enable-threadsafe",
"--with-system-nspr",
+ "--with-nspr-prefix=#{Formula["nspr"].opt_prefix}",
"--enable-macos-target=#{MacOS.version}"
inreplace "js-config", /JS_CONFIG_LIBS=.*?$/, "JS_CONFIG_LIBS=''"