aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gnu-smalltalk.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-24 12:50:21 -0800
committerAdam Vandenberg2012-02-24 21:35:51 -0800
commit8bf54c485cc793c4bb423dd4f5d02dcc7b67fd7a (patch)
treeb16bfe7af4d56758b68a1b603818cc0ea0791f66 /Library/Formula/gnu-smalltalk.rb
parent531a5765099c95f56c0455e0a4686b8952569105 (diff)
downloadhomebrew-8bf54c485cc793c4bb423dd4f5d02dcc7b67fd7a.tar.bz2
Add `buildpath` to Formula
Diffstat (limited to 'Library/Formula/gnu-smalltalk.rb')
-rw-r--r--Library/Formula/gnu-smalltalk.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/gnu-smalltalk.rb b/Library/Formula/gnu-smalltalk.rb
index 039a43eae..ed3d25be9 100644
--- a/Library/Formula/gnu-smalltalk.rb
+++ b/Library/Formula/gnu-smalltalk.rb
@@ -41,9 +41,8 @@ class GnuSmalltalk < Formula
# GNU Smalltalk thinks it needs GNU awk, but it works fine
# with OS X awk, so let's trick configure.
- here = Dir.pwd
- system "ln -s /usr/bin/awk #{here}/gawk"
- ENV['AWK'] = "#{here}/gawk"
+ system "ln -s /usr/bin/awk #{buildpath}/gawk"
+ ENV['AWK'] = "#{buildpath}/gawk"
ENV['FFI_CFLAGS'] = '-I/usr/include/ffi'
system "./configure", "--disable-debug", "--disable-dependency-tracking",