summaryrefslogtreecommitdiff
path: root/games/nethack-qt
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-06-06 12:10:07 +0000
committerjmmv <jmmv@pkgsrc.org>2003-06-06 12:10:07 +0000
commit24679eb8332bc0b6be46a39b008e48066019a65e (patch)
tree8f7a1f4394b7e92704e62320bc09fe6247a458db /games/nethack-qt
parent6b18e5a995664f568b6b1efe9f626e9e0af215e3 (diff)
downloadpkgsrc-24679eb8332bc0b6be46a39b008e48066019a65e.tar.gz
Avoid hardcoding /usr/pkg in patches.
Diffstat (limited to 'games/nethack-qt')
-rw-r--r--games/nethack-qt/Makefile3
-rw-r--r--games/nethack-qt/distinfo4
-rw-r--r--games/nethack-qt/patches/patch-aa4
3 files changed, 6 insertions, 5 deletions
diff --git a/games/nethack-qt/Makefile b/games/nethack-qt/Makefile
index dacecb95b3a..1030df59292 100644
--- a/games/nethack-qt/Makefile
+++ b/games/nethack-qt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2003/03/01 21:12:51 pooka Exp $
+# $NetBSD: Makefile,v 1.36 2003/06/06 12:10:07 jmmv Exp $
#
.include "../nethack-lib/Makefile.common"
@@ -16,6 +16,7 @@ USE_X11= # defined
ALL_TARGET= x11tiles nethack
INSTALL_TARGET= binfiles
MAKE_ENV+= GTYPE=-qt
+CFLAGS+= -DPREFIX=\"\\\"${PREFIX}\\\"\"
ALLFILES= ${DISTFILES} # don't checksum shared patches
diff --git a/games/nethack-qt/distinfo b/games/nethack-qt/distinfo
index ece14086b78..f88b4b820ba 100644
--- a/games/nethack-qt/distinfo
+++ b/games/nethack-qt/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.10 2003/03/01 21:12:51 pooka Exp $
+$NetBSD: distinfo,v 1.11 2003/06/06 12:10:07 jmmv Exp $
SHA1 (nethack-341.tgz) = 91eec5d20fb0fe676f92e1149e3b0360470aef77
Size (nethack-341.tgz) = 3492419 bytes
-SHA1 (patch-aa) = 5d136e6d97ad1caa0f173b4210fca32cd7bf79a1
+SHA1 (patch-aa) = e6c55079d684baa5fedc55773173fd3247b860a5
SHA1 (patch-ab) = fa217d8540a550d669a9037c5861ac4d685941ee
SHA1 (patch-ac) = a2a23324ec9859962064c9f520cad27439442a77
SHA1 (patch-ae) = a72da6e6bd1af3a8eaed97ecc1fdd1ed4198a5db
diff --git a/games/nethack-qt/patches/patch-aa b/games/nethack-qt/patches/patch-aa
index fddf7f27768..32d5d04dd47 100644
--- a/games/nethack-qt/patches/patch-aa
+++ b/games/nethack-qt/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.8 2003/03/01 21:12:51 pooka Exp $
+$NetBSD: patch-aa,v 1.9 2003/06/06 12:10:07 jmmv Exp $
--- include/config.h.orig 2003-02-23 16:43:19.000000000 +0200
+++ include/config.h 2003-03-01 22:54:41.000000000 +0200
@@ -55,7 +55,7 @@ $NetBSD: patch-aa,v 1.8 2003/03/01 21:12:51 pooka Exp $
# define HACKDIR "nethackdir" /* nethack directory */
# else
-# define HACKDIR "/usr/games/lib/nethackdir"
-+# define HACKDIR "/usr/pkg/share/nethackdir340"
++# define HACKDIR PREFIX "/share/nethackdir340"
# endif
# endif