Permalink
Browse files

spidermonkey: enable superenv

  • Loading branch information...
jacknagel committed Nov 11, 2013
1 parent 8f380e7 commit 95399df5d87c8d8f160d5807f46b987b12d506f4
Showing with 3 additions and 5 deletions.
  1. +1 −0 Formula/nspr.rb
  2. +2 −5 Formula/spidermonkey.rb
View
@@ -19,6 +19,7 @@ def install
--enable-strip
--enable-pthreads
--enable-ipv6
--enable-macos-target=#{MacOS.version}
]
args << "--enable-64bit" if MacOS.prefer_64_bit?
system "./configure", *args
View
@@ -13,10 +13,6 @@ class Spidermonkey < Formula
depends_on 'readline'
depends_on 'nspr'
# spidermonkey builds using libstdc++ with clang in superenv
# TODO fix this under superenv
env :std
def install
# aparently this flag causes the build to fail for ivanvc on 10.5 with a
# penryn (core 2 duo) CPU. So lets be cautious here and remove it.
@@ -33,7 +29,8 @@ def install
system "../js/src/configure", "--prefix=#{prefix}",
"--enable-readline",
"--enable-threadsafe",
"--with-system-nspr"
"--with-system-nspr",
"--enable-macos-target=#{MacOS.version}"
inreplace "js-config", /JS_CONFIG_LIBS=.*?$/, "JS_CONFIG_LIBS=''"
# These need to be in separate steps.

0 comments on commit 95399df

Please sign in to comment.