aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-05-08 01:11:40 -0500
committerJack Nagel2012-05-08 01:15:12 -0500
commit970cbdc467bf694c8f01e7755483a3c3901b6022 (patch)
tree6ef8572f039004e36b3045720a1a35862e246cd4 /Library/Formula
parentff31097cd3943e4dffd5d793d5568cbad33d7894 (diff)
downloadhomebrew-970cbdc467bf694c8f01e7755483a3c3901b6022.tar.bz2
spidermonkey: use buildpath instead of Pathname.pwd
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/spidermonkey.rb2
1 files changed, 1 insertions, 1 deletions
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'