aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorZifei Tong2010-09-18 21:07:42 +0800
committerAdam Vandenberg2010-10-06 18:18:10 -0700
commitea6bcd5ce6187c1566cb774a38c74d2ae1d6a0d6 (patch)
tree01cabe909fe7109ba8914a0d15cb94396ca6c636 /Library/Formula
parent754573d19b1218a9da3f0c60a6ccc0c44dfa52de (diff)
downloadhomebrew-ea6bcd5ce6187c1566cb774a38c74d2ae1d6a0d6.tar.bz2
fix issue 2383
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/nethack.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/nethack.rb b/Library/Formula/nethack.rb
index 1145c06b4..5476e37dc 100644
--- a/Library/Formula/nethack.rb
+++ b/Library/Formula/nethack.rb
@@ -30,7 +30,7 @@ class Nethack <Formula
inreplace "include/config.h",
/^#\s*define HACKDIR.*$/,
- "#define HACKDIR \"#{var}/nethack\""
+ "#define HACKDIR \"#{libexec}\""
# Make the data first, before we munge the CFLAGS
system "cd dat;make"
@@ -51,7 +51,6 @@ class Nethack <Formula
system 'cd src;make'
bin.install 'src/nethack'
- (var+'nethack').mkpath
end
end