Subject: lib/15074: libc make cleandir (and so make build) fail if MKNLS=no
To: None <gnats-bugs@gnats.netbsd.org>
From: None <msouth@msouth.org>
List: netbsd-bugs
Date: 12/28/2001 00:05:28
>Number: 15074
>Category: lib
>Synopsis: libc make cleandir (and so make build) fail if MKNLS=no
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 28 00:06:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Michael South
>Release: current 2001/12/27
>Organization:
>Environment:
All
>Description:
If MKNLS is "no", then "make cleandir" in lib/libc results in
rm -f
usage: rm [-dfiPRrW] file ...
*** Error code 1
Stop.
make: stopped in /usr/src/lib/libc
>How-To-Repeat:
% cd /usr/src/lib/libc
% make MKNLS=no cleandir
>Fix:
src/share/mk/bsd.nls.mk
57c57
< .if !empty(NLS)
---
> .if defined(NLSALL) && !empty(NLSALL)
(NLS is set within makefile, and may be non-empty regardless of MKNLS.
NLSALL is non-empty only if MKNLS != "no".)
>Release-Note:
>Audit-Trail:
>Unformatted: