Subject: bin/1689: bad dependencies in some src/gnu/usr.bin/groff Makefiles
To: None <gnats-bugs@gnats.netbsd.org>
From: Mike Long <mike.long@analog.com>
List: netbsd-bugs
Date: 10/25/1995 02:23:32
>Number:         1689
>Category:       bin
>Synopsis:       bad dependencies in some src/gnu/usr.bin/groff Makefiles
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 25 02:35:01 1995
>Last-Modified:
>Originator:     Mike Long <mike.long@analog.com>
>Organization:
	Wozzat?
>Release:        951024
>Environment:
System: NetBSD azathoth 1.1_ALPHA NetBSD 1.1_ALPHA (AZATHOTH) #9: Sat Oct 21 21:41:53 EDT 1995 root@azathoth:/usr/src/sys/arch/i386/compile/AZATHOTH i386

>Description:
	Makefiles for parts of groff use LIBMATH in DPADD instead of LIBM.

>How-To-Repeat:
	(cd src/gnu/usr.bin/groff; make)
	(cd src/lib/libm; make && make install)
	(cd src/gnu/usr.bin/groff; make)
>Fix:

*** /usr/src/gnu/usr.bin/groff/grodvi/Makefile~ Fri Oct 13 20:28:01 1995
--- /usr/src/gnu/usr.bin/groff/grodvi/Makefile  Wed Oct 25 02:09:41 1995
***************
*** 5,9 ****
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBDRIVER) $(LIBGROFF) -lm
! DPADD+=               $(LIBDRIVER) $(LIBGROFF) $(LIBMATH)
  
  .include "../../Makefile.inc"
--- 5,9 ----
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBDRIVER) $(LIBGROFF) -lm
! DPADD+=               $(LIBDRIVER) $(LIBGROFF) $(LIBM)
  
  .include "../../Makefile.inc"

*** /usr/src/gnu/usr.bin/groff/groff/Makefile~  Fri Oct 13 20:28:05 1995
--- /usr/src/gnu/usr.bin/groff/groff/Makefile   Wed Oct 25 02:11:06 1995
***************
*** 5,9 ****
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBGROFF) -lm
! DPADD+=               $(LIBGROFF) $(LIBMATH)
  
  .include "../../Makefile.inc"
--- 5,9 ----
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBGROFF) -lm
! DPADD+=               $(LIBGROFF) $(LIBM)
  
  .include "../../Makefile.inc"

*** /usr/src/gnu/usr.bin/groff/grops/Makefile~  Fri Oct 13 20:28:18 1995
--- /usr/src/gnu/usr.bin/groff/grops/Makefile   Wed Oct 25 02:11:49 1995
***************
*** 5,9 ****
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBDRIVER) $(LIBGROFF) -lm
! DPADD+=               $(LIBDRIVER) $(LIBGROFF) $(LIBMATH)
  
  .include "../../Makefile.inc"
--- 5,9 ----
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBDRIVER) $(LIBGROFF) -lm
! DPADD+=               $(LIBDRIVER) $(LIBGROFF) $(LIBM)
  
  .include "../../Makefile.inc"

*** /usr/src/gnu/usr.bin/groff/grotty/Makefile~ Fri Oct 13 20:28:27 1995
--- /usr/src/gnu/usr.bin/groff/grotty/Makefile  Wed Oct 25 02:12:15 1995
***************
*** 5,9 ****
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBDRIVER) $(LIBGROFF) -lm
! DPADD+=               $(LIBDRIVER) $(LIBGROFF) $(LIBMATH)
  
  .include "../../Makefile.inc"
--- 5,9 ----
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBDRIVER) $(LIBGROFF) -lm
! DPADD+=               $(LIBDRIVER) $(LIBGROFF) $(LIBM)
  
  .include "../../Makefile.inc"

*** /usr/src/gnu/usr.bin/groff/indxbib/Makefile~        Fri Oct 13 20:28:48 1995
--- /usr/src/gnu/usr.bin/groff/indxbib/Makefile Wed Oct 25 02:13:19 1995
***************
*** 5,9 ****
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=       $(LIBBIB) $(LIBGROFF) -lm
! DPADD+=       $(LIBBIB) $(LIBGROFF) $(LIBMATH)
  
  # XXX -- this depends on ../include/defs.h
--- 5,9 ----
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=       $(LIBBIB) $(LIBGROFF) -lm
! DPADD+=       $(LIBBIB) $(LIBGROFF) $(LIBM)
  
  # XXX -- this depends on ../include/defs.h

*** /usr/src/gnu/usr.bin/groff/lkbib/Makefile~  Fri Oct 13 20:29:32 1995
--- /usr/src/gnu/usr.bin/groff/lkbib/Makefile   Wed Oct 25 02:13:52 1995
***************
*** 5,9 ****
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBBIB) $(LIBGROFF) -lm
! DPADD+=               $(LIBBIB) $(LIBGROFF) $(LIBMATH)
  
  .include "../../Makefile.inc"
--- 5,9 ----
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBBIB) $(LIBGROFF) -lm
! DPADD+=               $(LIBBIB) $(LIBGROFF) $(LIBM)
  
  .include "../../Makefile.inc"

*** /usr/src/gnu/usr.bin/groff/lookbib/Makefile~        Fri Oct 13 20:29:39 1995
--- /usr/src/gnu/usr.bin/groff/lookbib/Makefile Wed Oct 25 02:14:56 1995
***************
*** 5,9 ****
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBBIB) $(LIBGROFF) -lm
! DPADD+=               $(LIBBIB) $(LIBGROFF) $(LIBMATH)
  
  .include "../../Makefile.inc"
--- 5,9 ----
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBBIB) $(LIBGROFF) -lm
! DPADD+=               $(LIBBIB) $(LIBGROFF) $(LIBM)
  
  .include "../../Makefile.inc"

*** /usr/src/gnu/usr.bin/groff/pic/Makefile~    Fri Oct 13 20:30:14 1995
--- /usr/src/gnu/usr.bin/groff/pic/Makefile     Wed Oct 25 02:15:48 1995
***************
*** 5,9 ****
  CFLAGS+=      -I. -I$(.CURDIR)/../include
  LDADD+=               $(LIBGROFF) -lm
! DPADD+=               $(LIBGROFF) $(LIBMATH)
  
  CLEANFILES+=  pic.cc pic.tab.h
--- 5,9 ----
  CFLAGS+=      -I. -I$(.CURDIR)/../include
  LDADD+=               $(LIBGROFF) -lm
! DPADD+=               $(LIBGROFF) $(LIBM)
  
  CLEANFILES+=  pic.cc pic.tab.h

*** /usr/src/gnu/usr.bin/groff/refer/Makefile~  Fri Oct 13 20:30:30 1995
--- /usr/src/gnu/usr.bin/groff/refer/Makefile   Wed Oct 25 02:16:20 1995
***************
*** 5,9 ****
  CFLAGS+=      -I. -I$(.CURDIR)/../include
  LDADD+=               $(LIBBIB) $(LIBGROFF) -lm
! DPADD+=               $(LIBBIB) $(LIBGROFF) $(LIBMATH)
  
  CLEANFILES+=  label.cc label.tab.h
--- 5,9 ----
  CFLAGS+=      -I. -I$(.CURDIR)/../include
  LDADD+=               $(LIBBIB) $(LIBGROFF) -lm
! DPADD+=               $(LIBBIB) $(LIBGROFF) $(LIBM)
  
  CLEANFILES+=  label.cc label.tab.h

*** /usr/src/gnu/usr.bin/groff/tbl/Makefile~    Fri Oct 13 20:30:44 1995
--- /usr/src/gnu/usr.bin/groff/tbl/Makefile     Wed Oct 25 02:17:01 1995
***************
*** 5,9 ****
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBGROFF) -lm
! DPADD+=               $(LIBGROFF) $(LIBMATH)
  
  .include "../../Makefile.inc"
--- 5,9 ----
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBGROFF) -lm
! DPADD+=               $(LIBGROFF) $(LIBM)
  
  .include "../../Makefile.inc"

*** /usr/src/gnu/usr.bin/groff/tfmtodit/Makefile~       Fri Oct 13 20:30:49 1995
--- /usr/src/gnu/usr.bin/groff/tfmtodit/Makefile        Wed Oct 25 02:17:53 1995
***************
*** 5,9 ****
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBGROFF) -lm
! DPADD+=               $(LIBGROFF) $(LIBMATH)
  
  .include "../../Makefile.inc"
--- 5,9 ----
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBGROFF) -lm
! DPADD+=               $(LIBGROFF) $(LIBM)
  
  .include "../../Makefile.inc"

*** /usr/src/gnu/usr.bin/groff/troff/Makefile~  Fri Oct 13 20:31:09 1995
--- /usr/src/gnu/usr.bin/groff/troff/Makefile   Wed Oct 25 02:18:51 1995
***************
*** 6,10 ****
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBGROFF) -lm
! DPADD+=               $(LIBGROFF) $(LIBMATH)
  
  CLEANFILES+=  majorminor.cc
--- 6,10 ----
  CFLAGS+=      -I$(.CURDIR)/../include
  LDADD+=               $(LIBGROFF) -lm
! DPADD+=               $(LIBGROFF) $(LIBM)
  
  CLEANFILES+=  majorminor.cc

>Audit-Trail:
>Unformatted: