summaryrefslogtreecommitdiff
path: root/games/nethack-x11/patches
diff options
context:
space:
mode:
authorpooka <pooka@pkgsrc.org>2002-03-25 20:32:23 +0000
committerpooka <pooka@pkgsrc.org>2002-03-25 20:32:23 +0000
commit29b9470af319cc53334b6662b77c67f0cbd38812 (patch)
treeb1ef0eb103c223f87dfbc22a6497e40a42863754 /games/nethack-x11/patches
parent4ebba2259f2a4042d09a9b3f39d487af17a6af65 (diff)
downloadpkgsrc-29b9470af319cc53334b6662b77c67f0cbd38812.tar.gz
Make the name of nethackdir contain version information (eg. now it's
called nethackdir340). This is to ease the lives of people who wish to have multiple versions nethack installed at the same time. It is not fully automated, because doing pkgsrc magic will most likely screw things up one funny way or another. And we all know that the most important thing in this world is the nethack scorefile ... Manually bump version to 3.4.0nb1.
Diffstat (limited to 'games/nethack-x11/patches')
-rw-r--r--games/nethack-x11/patches/patch-aa4
-rw-r--r--games/nethack-x11/patches/patch-ab4
-rw-r--r--games/nethack-x11/patches/patch-ad22
3 files changed, 4 insertions, 26 deletions
diff --git a/games/nethack-x11/patches/patch-aa b/games/nethack-x11/patches/patch-aa
index 84e4967f694..20811b3fce0 100644
--- a/games/nethack-x11/patches/patch-aa
+++ b/games/nethack-x11/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2002/03/22 17:26:28 pooka Exp $
+$NetBSD: patch-aa,v 1.5 2002/03/25 20:32:30 pooka Exp $
--- include/config.h.orig Thu Mar 21 01:42:43 2002
+++ include/config.h Fri Mar 22 18:24:20 2002
@@ -52,7 +52,7 @@ $NetBSD: patch-aa,v 1.4 2002/03/22 17:26:28 pooka Exp $
# define HACKDIR "nethackdir" /* nethack directory */
# else
-# define HACKDIR "/usr/games/lib/nethackdir"
-+# define HACKDIR "XXXPREFIXXXX/share/nethackdir"
++# define HACKDIR "XXXPREFIXXXX/share/nethackdir340"
# endif
# endif
diff --git a/games/nethack-x11/patches/patch-ab b/games/nethack-x11/patches/patch-ab
index 819b4c175fc..130f799a13c 100644
--- a/games/nethack-x11/patches/patch-ab
+++ b/games/nethack-x11/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.7 2002/03/22 17:26:28 pooka Exp $
+$NetBSD: patch-ab,v 1.8 2002/03/25 20:32:30 pooka Exp $
--- sys/unix/Makefile.top.orig Fri Mar 22 17:15:28 2002
+++ sys/unix/Makefile.top Fri Mar 22 17:24:57 2002
@@ -31,7 +31,7 @@ $NetBSD: patch-ab,v 1.7 2002/03/22 17:26:28 pooka Exp $
# (if there is, you'll have to do the installation by hand or modify the
# instructions)
-GAMEDIR = $(PREFIX)/games/lib/$(GAME)dir
-+GAMEDIR = $(PREFIX)/share/$(GAME)dir
++GAMEDIR = $(PREFIX)/share/$(GAME)dir340
VARDIR = $(GAMEDIR)
-SHELLDIR = $(PREFIX)/games
+SHELLDIR = $(PREFIX)/bin
diff --git a/games/nethack-x11/patches/patch-ad b/games/nethack-x11/patches/patch-ad
deleted file mode 100644
index 5d3dd8fa1a9..00000000000
--- a/games/nethack-x11/patches/patch-ad
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2002/03/22 17:26:28 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/nethackdir
- 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