Subject: bin/1139: Previous fix to gnu/usr.bin/Makefile introduces a bug.
To: None <gnats-admin@sun-lamp.pc.cs.cmu.edu>
From: Ted Lemon <mellon@fugue.com>
List: netbsd-bugs
Date: 06/20/1995 00:20:15
>Number:         1139
>Category:       bin
>Synopsis:       Previous fix to gnu/usr.bin/Makefile introduces a bug.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 20 00:20:14 1995
>Originator:     Ted Lemon
>Organization:
>Release:        June 15, 1995
>Environment:
System: NetBSD toccata 1.0A NetBSD 1.0A (TOCCATA) #158: Wed Jun 14 12:49:57 PDT 1995 mellon@toccata:/sandbox/NetBSD-current/sys/arch/pmax/compile/TOCCATA pmax


>Description:
	My previous fix to the problem of building toolchain binaries on
	NetBSD/pmax contained a syntactical error.
>How-To-Repeat:
>Fix:
	This is the correct patch:

diff -c -r1.22 Makefile
*** Makefile	1995/04/23 07:50:55	1.22
--- Makefile	1995/06/15 18:06:00
***************
*** 4,11 ****
  SUBDIR+=	gzip rcs sdiff send-pr sort tar
  
  # some ports don't use the tool chain in /usr/src
! .if (${MACHINE_ARCH} != "alpha")
  SUBDIR+=	gas gcc2 gdb groff ld
  .endif
  
  # XXX alpha still needs the /usr/bin/cpp script.
--- 4,15 ----
  SUBDIR+=	gzip rcs sdiff send-pr sort tar
  
  # some ports don't use the tool chain in /usr/src
! .if (${MACHINE_ARCH} != "alpha") && (${MACHINE_ARCH} != "mips")
  SUBDIR+=	gas gcc2 gdb groff ld
+ .endif
+ 
+ .if (${MACHINE_ARCH} == "mips")
+ SUBDIR+=	groff
  .endif
  
  # XXX alpha still needs the /usr/bin/cpp script.
>Audit-Trail:
>Unformatted: