Subject: bin/18326:
To: None <>
From: Nick Cuccia <cuccia@Talamasca.COM>
List: netbsd-bugs
Date: 09/18/2002 01:19:49
>Number:         18326
>Category:       bin
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 18 01:20:00 PDT 2002
>Originator:     Nick Cuccia
>Release:        NetBSD 1.6H
The Talamasca.  We watch.  And we are always here.
System: NetBSD motherhouse 1.6H NetBSD 1.6H (NTALAMASCA) #0: Tue Sep 17 12:57:36 PDT 2002 cuccia@motherhouse:/build/src/sys/arch/i386/compile/NTALAMASCA i386
Architecture: i386
Machine: i386
Attempts to 'make build' in /usr/src due to buggy conditionals in
	# cd /usr/src/usr.sbin
	# make clean
The following patch corrects the problematic conditional.

--- Makefile.orig	Wed Sep 18 00:34:44 2002
+++ Makefile	Wed Sep 18 01:02:45 2002
@@ -28,7 +28,7 @@
 SUBDIR+= rpc.yppasswdd ypbind yppoll ypserv ypset
-.if ${TOOLCHAIN_MISSING} == "yes"
+.if defined(TOOLCHAIN_MISSING) && ${TOOLCHAIN_MISSING} == "yes"
 SUBDIR+= mdsetimage
 Make fails in /usr/src/usr.sbin due to buggy Makefile conditionals