$NetBSD: patch-ad,v 1.4 2002/03/25 20:32:26 pooka Exp $

--- sys/unix/nethack.sh.orig	Thu Mar 21 01:43:54 2002
+++ sys/unix/nethack.sh	Fri Mar 22 17:39:00 2002
@@ -1,9 +1,15 @@
 #!/bin/sh
 #	SCCS Id: @(#)nethack.sh	3.4	1990/02/26
 
-HACKDIR=/usr/games/lib/nethackdir
+if [ "$1" = "" ]; then
+	TTY=tty
+else
+	TTY=$1
+fi
+
+HACKDIR=XXXPREFIXXXX/share/nethackdir340
 export HACKDIR
-HACK=$HACKDIR/nethack
+HACK=XXXPREFIXXXX/bin/nethack-$TTY
 MAXNROFPLAYERS=4
 
 # see if we can find the full path name of PAGER, so help files work properly
