summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgarbled <garbled>1998-12-31 06:19:38 +0000
committergarbled <garbled>1998-12-31 06:19:38 +0000
commit8847e8ad1142f7916540d66c26e3fb05b6eb66cb (patch)
tree087f013d8948c3322eff2a6e84c38fc6d5a3a6ff
parent7c41d7f4fd2152e4261df34a4523a5c021235ac0 (diff)
downloadpkgsrc-8847e8ad1142f7916540d66c26e3fb05b6eb66cb.tar.gz
Make these packages conform to read-only-pkgsrc. Bad garbled! bad!
Fixes PR 6528 by Simon Burge.
-rw-r--r--games/nethack-tty/Makefile6
-rw-r--r--games/nethack-x11/Makefile8
2 files changed, 7 insertions, 7 deletions
diff --git a/games/nethack-tty/Makefile b/games/nethack-tty/Makefile
index d6737789e39..31b312bf80b 100644
--- a/games/nethack-tty/Makefile
+++ b/games/nethack-tty/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1998/08/28 12:56:17 garbled Exp $
+# $NetBSD: Makefile,v 1.3 1998/12/31 06:19:38 garbled Exp $
DISTNAME= nethack-3.2.2
PKGNAME= nethack-tty-3.2.2
@@ -10,7 +10,7 @@ HOMEPAGE= http://www.win.tue.nl/games/roguelike/nethack/
DEPENDS+= nethack-lib-3.2.2:../nethack-lib
-WRKSRC= ../nethack-lib/work/${DISTNAME}
+WRKSRC= ../nethack-lib/${WRKDIR_BASENAME}/${DISTNAME}
NO_CHECKSUM= yes
ALL_TARGET= nethack
INSTALL_TARGET= binfiles
@@ -18,7 +18,7 @@ MAKE_ENV+= GTYPE=-tty
do-fetch: #empty
do-extract:
- @mkdir work
+ -@mkdir ${WRKDIR_BASENAME}
(cd ../nethack-lib && make clean)
(cd ../nethack-lib && make configure)
diff --git a/games/nethack-x11/Makefile b/games/nethack-x11/Makefile
index be0ab8dc4f5..eb595a39532 100644
--- a/games/nethack-x11/Makefile
+++ b/games/nethack-x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 1998/08/27 13:15:01 garbled Exp $
+# $NetBSD: Makefile,v 1.2 1998/12/31 06:19:38 garbled Exp $
#
DISTNAME= nethack-3.2.2
@@ -12,7 +12,7 @@ HOMEPAGE= http://www.win.tue.nl/games/roguelike/nethack/
DEPENDS+= nethack-lib-3.2.2:../nethack-lib
DEPENDS+= xpm-3.4k:../../graphics/xpm
-WRKSRC= ../nethack-lib/work/${DISTNAME}
+WRKSRC= ../nethack-lib/${WRKDIR_BASENAME}/${DISTNAME}
NO_CHECKSUM= yes
ALL_TARGET= nethack
INSTALL_TARGET= binfiles
@@ -20,12 +20,12 @@ MAKE_ENV+= GTYPE=-x11
do-fetch: #empty
do-extract:
- -@mkdir work
+ -@mkdir ${WRKDIR_BASENAME}
(cd ../nethack-lib && make clean)
(cd ../nethack-lib && make configure)
(cd ${WRKSRC}/src && make clean)
do-clean:
- -@rm -r work
+ -@rm -r ${WRKDIR_BASENAME}
.include "../../mk/bsd.pkg.mk"