Subject: misc/10570: make clean in usr.sbin fails
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@danbala.ifoer.tuwien.ac.at>
List: netbsd-bugs
Date: 07/11/2000 09:24:13
>Number:         10570
>Category:       misc
>Synopsis:       make clean in usr.sbin fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 11 09:25:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Wiz
>Release:        1.5B, usr.sbin/Makefile v1.146
>Organization:
Thomas Klausner - wiz@danbala.tuwien.ac.at
I wanted to emulate some of my heroes, but I didn't know their
op-codes. --dowe
>Environment:
	
System: NetBSD danbala 1.4.2 NetBSD 1.4.2 (DANBALA) #0: Wed Jan 1 04:30:28 MET 1997 root@:/usr/src/sys/arch/i386/compile/DANBALA i386
>Description:
"make clean" fails at least in usr.sbin
>How-To-Repeat:
cd /usr/src/usr.sbin
make clean

gives

"Makefile", line 30: Malformed conditional ((${MKCRYPTO} != "no"))
"Makefile", line 30: Missing dependency operator
"Makefile", line 32: if-less endif
"Makefile", line 32: Need an operator
Fatal errors encountered -- cannot continue

>Fix:
change the line
	.if (${MKCRYPTO} != "no)
to
	.if defined(MKCRYPTO) && ${MKCRYPTO} != "no"

send-pr'd because MKCRYPTO probably should be defined here, anyway,
and other directories are probably affected, too.
>Release-Note:
>Audit-Trail:
>Unformatted: