spidermonkey: use buildpath instead of Pathname.pwd

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-05-08 01:11:40 -05:00
parent def7301eaa
commit 50cb7df7d5

View file

@ -31,7 +31,7 @@ class Spidermonkey < Formula
ENV['CFLAGS'] = ENV['CFLAGS'].gsub(/-msse[^\s]+/, '') if MacOS.leopard?
# For some reason SpiderMonkey requires Autoconf-2.13
ac213_prefix = Pathname.pwd.join('ac213')
ac213_prefix = buildpath/'ac213'
Autoconf213.new.brew do |f|
# Force use of plain "awk"
inreplace 'configure', 'for ac_prog in mawk gawk nawk awk', 'for ac_prog in awk'