Subject: bin/21204: make/cond.c #include
To: None <>
From: None <>
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
>Originator:     Marc Herbert
>Release:        -current
Sun Microsystems
SunOS solarix 5.8 Generic_108529-13 i86pc i386 i86pc
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

remove the line
  #include    <math.h>
from cond.c, compile without a hitch, run without a hitch.

remove the line
document it, with an appended comment.