aboutsummaryrefslogtreecommitdiff
path: root/games/falconseye/files/patch-sys_unix_nethack_sh
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-08-24 10:52:28 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-08-24 10:52:28 +0000
commitbe2dc01b73670347ebc0a94ae7ea205eb6cac27f (patch)
treead9976c45f7ac5710aad3d526fb975bd2ad64a81 /games/falconseye/files/patch-sys_unix_nethack_sh
parent175b6c23dff82eea1e3892896619c512a9513b77 (diff)
Notes
Diffstat (limited to 'games/falconseye/files/patch-sys_unix_nethack_sh')
-rw-r--r--games/falconseye/files/patch-sys_unix_nethack_sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/falconseye/files/patch-sys_unix_nethack_sh b/games/falconseye/files/patch-sys_unix_nethack_sh
new file mode 100644
index 000000000000..59e0832ec21c
--- /dev/null
+++ b/games/falconseye/files/patch-sys_unix_nethack_sh
@@ -0,0 +1,19 @@
+--- sys/unix/nethack.sh.orig Sun Jun 24 18:57:24 2001
++++ sys/unix/nethack.sh Thu Jul 5 16:22:17 2001
+@@ -6,6 +6,16 @@ export HACKDIR
+ HACK=$HACKDIR/nethack
+ MAXNROFPLAYERS=4
+
++# Handle extra config setup
++: ${FALCONCONFIG:=${HOME}/.falcon}
++if [ -d ${FALCONCONFIG} ]; then
++ :
++else
++ mkdir -p ${FALCONCONFIG}
++ cp ${HACKDIR}/config/* ${FALCONCONFIG}
++fi
++export FALCONCONFIG
++
+ # see if we can find the full path name of PAGER, so help files work properly
+ # assume that if someone sets up a special variable (HACKPAGER) for NetHack,
+ # it will already be in a form acceptable to NetHack