From 970cbdc467bf694c8f01e7755483a3c3901b6022 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 8 May 2012 01:11:40 -0500 Subject: spidermonkey: use buildpath instead of Pathname.pwd Signed-off-by: Jack Nagel --- Library/Formula/spidermonkey.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/spidermonkey.rb b/Library/Formula/spidermonkey.rb index d5c30dd69..172ac4f02 100644 --- a/Library/Formula/spidermonkey.rb +++ b/Library/Formula/spidermonkey.rb @@ -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' -- cgit v1.2.3