Subject: bin/1019: vmstat doesn't build on pmax.
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: Ted Lemon <mellon@fugue.com>
List: netbsd-bugs
Date: 05/04/1995 16:35:04
>Number:         1019
>Category:       bin
>Synopsis:       vmstat doesn't build on pmax.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu May  4 16:35:02 1995
>Originator:     Ted Lemon
>Organization:
>Release:        NetBSD-current May 4, 1995
>Environment:
>System: NetBSD toccata 1.0A NetBSD 1.0A (TOCCATA) #122: Wed May 3 22:29:20 PDT 1995 mellon@toccata:/sandbox/NetBSD-current/sys/arch/pmax/compile/TOCCATA pmax


>Description:
	#includes in names.c don't work because they're 4.4bsd-specific
>How-To-Repeat:
	Build on pmax.
>Fix:
The following change to usr.bin/vmstat/Makefile should solve the problem.

diff -c -r1.13 Makefile
*** Makefile	1994/12/28 18:39:53	1.13
--- Makefile	1995/05/04 23:15:16
***************
*** 2,8 ****
  #	$Id: Makefile,v 1.13 1994/12/28 18:39:53 mycroft Exp $
  
  PROG=	vmstat
! .if (${MACHINE_ARCH} == "m68k")
  CFLAGS+=-D${MACHINE} -I${.CURDIR}/../../sys/arch
  .endif
  MAN=	vmstat.8
--- 2,8 ----
  #	$Id: Makefile,v 1.13 1994/12/28 18:39:53 mycroft Exp $
  
  PROG=	vmstat
! .if (${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "mips")
  CFLAGS+=-D${MACHINE} -I${.CURDIR}/../../sys/arch
  .endif
  MAN=	vmstat.8
>Audit-Trail:
>Unformatted: