Subject: pkg/22999: nethack patch problems
To: None <gnats-bugs@gnats.netbsd.org>
From: Lloyd Parkes <lloyd@must-have-coffee.gen.nz>
List: netbsd-bugs
Date: 09/29/2003 14:47:26
>Number:         22999
>Category:       pkg
>Synopsis:       nethack-x11 and nethack-qt don't build
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 29 02:48:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Lloyd Parkes
>Release:        NetBSD 1.6.1_STABLE
>Organization:
Must Have Coffee
>Environment:
System: NetBSD ophidian.must-have-coffee.gen.nz 1.6.1_STABLE NetBSD 1.6.1_STABLE (Workstation) #1: Mon Jun 2 15:43:10 NZST 2003 lloyd@ophidian.must-have-coffee.gen.nz:/data/src/sys/arch/i386/compile/Workstation i386
Architecture: i386
Machine: i386
>Description:

nethack-tty builds, but nethack-x11 and nethack-qt don't. This is because
nethack-tty has a closer association with nethack-lib than the other two
and the patch file patch-aa in the other two seems to try and set HACKDIR
in a bogus way.

Note that the three files nethack*/patches/patch-aa have two different
ways of fiddling with HACKDIR.

>How-To-Repeat:

cd pkgsrc/games/nethack && make

>Fix:
Decide how HACKDIR is going to be set and implement it that way in 
nethack-lib/patches/patch-aa, nethack-qt/patches/patch-aa and
nethack-x11/patches/patch-aa.
>Release-Note:
>Audit-Trail:
>Unformatted: