Subject: pkg/14294: another mistake in pkgsrc/games/iso-pernangband/Makefile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <collver@linuxfreemail.com>
List: netbsd-bugs
Date: 10/18/2001 20:09:24
>Number:         14294
>Category:       pkg
>Synopsis:       another mistake in pkgsrc/games/iso-pernangband/Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 18 20:08:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5.2
>Organization:
  __
 (oO)  Why vote for the lesser of two evils?  Cthulhu for president.
 /||\
>Environment:
System: NetBSD glen 1.5.2 NetBSD 1.5.2 (GLEN) #0: Tue Sep 25 06:41:40 PDT 2001 root@glen:/usr/src/sys/arch/i386/compile/GLEN i386


>Description:
	Interfering regexp's in Makefile, makes game unplayable.
	I apologise for the hassle!

>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/iso-pernangband/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	2001/10/17 21:51:15	1.1.1.1
+++ Makefile	2001/10/19 03:03:55
@@ -25,8 +25,9 @@
 	# change keymap to match isometric view, much more convenient
 	${CP}	${WRKSRC}/../lib/user/pref-sdl.prf \
 		${WRKSRC}/../lib/user/pref-sdl.prf.orig
-	${SED}	-e 's,1$,2,' -e 's,2$,3,' -e 's,3$,6,' -e 's,4$,1,' \
-		-e 's,6$,9,' -e 's,7$,4,' -e 's,8$,7,' -e 's,9$,8,' \
+	${SED}	-e 's,1$$,z,' -e 's,4$$,1,' -e 's,7$$,4,' \
+		-e 's,8$$,7,' -e 's,9$$,8,' -e 's,6$$,9,' \
+		-e 's,3$$,6,' -e 's,2$$,3,' -e 's,z$$,2,' \
 		<${WRKSRC}/../lib/user/pref-sdl.prf.orig \
 		>${WRKSRC}/../lib/user/pref-sdl.prf
 
>Release-Note:
>Audit-Trail:
>Unformatted: