To: None <gnats-bugs@gnats.netbsd.org>
From: None <Marc.Herbert@sun.com>
List: netbsd-bugs
Date: 04/16/2003 20:08:42
>Number: 21204
>Category: bin
>Synopsis: make/cond.c #include <math.h>
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 16 20:09:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Marc Herbert
>Release: -current
>Organization:
Sun Microsystems
>Environment:
SunOS solarix 5.8 Generic_108529-13 i86pc i386 i86pc
>Description:
usr.bin/make/cond.c includes <math.h> for a non-evident (non-existent?) reason.
If this inclusion is not needed, then it creates a useless dependency, in particular for bootstrap-pkgsrc.
If this inclusion is needed, it would be nice to document it inside cond.c
>How-To-Repeat:
remove the line
#include <math.h>
from cond.c, compile without a hitch, run without a hitch.
>Fix:
remove the line
or
document it, with an appended comment.
>Release-Note:
>Audit-Trail:
>Unformatted: