diff options
author | pooka <pooka@pkgsrc.org> | 2002-03-25 20:32:23 +0000 |
---|---|---|
committer | pooka <pooka@pkgsrc.org> | 2002-03-25 20:32:23 +0000 |
commit | 29b9470af319cc53334b6662b77c67f0cbd38812 (patch) | |
tree | b1ef0eb103c223f87dfbc22a6497e40a42863754 /games/nethack-qt/patches | |
parent | 4ebba2259f2a4042d09a9b3f39d487af17a6af65 (diff) | |
download | pkgsrc-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-qt/patches')
-rw-r--r-- | games/nethack-qt/patches/patch-aa | 4 | ||||
-rw-r--r-- | games/nethack-qt/patches/patch-ab | 4 | ||||
-rw-r--r-- | games/nethack-qt/patches/patch-ad | 22 |
3 files changed, 4 insertions, 26 deletions
diff --git a/games/nethack-qt/patches/patch-aa b/games/nethack-qt/patches/patch-aa index 4597eee9a01..0c9c39f213d 100644 --- a/games/nethack-qt/patches/patch-aa +++ b/games/nethack-qt/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.6 2002/03/22 17:26:26 pooka Exp $ +$NetBSD: patch-aa,v 1.7 2002/03/25 20:32:27 pooka Exp $ --- include/config.h.orig Thu Mar 21 01:42:43 2002 +++ include/config.h Fri Mar 22 18:52:27 2002 @@ -53,7 +53,7 @@ $NetBSD: patch-aa,v 1.6 2002/03/22 17:26:26 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-qt/patches/patch-ab b/games/nethack-qt/patches/patch-ab index 1861e9b3318..ee6ac2e96d6 100644 --- a/games/nethack-qt/patches/patch-ab +++ b/games/nethack-qt/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.4 2002/03/22 17:26:26 pooka Exp $ +$NetBSD: patch-ab,v 1.5 2002/03/25 20:32:27 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.4 2002/03/22 17:26:26 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-qt/patches/patch-ad b/games/nethack-qt/patches/patch-ad deleted file mode 100644 index bf1c66e736a..00000000000 --- a/games/nethack-qt/patches/patch-ad +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-ad,v 1.3 2002/03/22 17:26: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/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 |