aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
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