Subject: Re: bin/13285: bsd.sys.mk/MKSOFTFLOAT
To: NetBSD Bugs and PR posting List <netbsd-bugs@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 06/22/2001 20:37:42
[ On Saturday, June 23, 2001 at 01:08:21 (+0100), prlw1@cam.ac.uk wrote: ]
> Subject: bin/13285: bsd.sys.mk/MKSOFTFLOAT
>
> >Fix:

I've now tested this fix, and I think it's potentially more "correct" as
it preserves the intent of the use of MKSOFTFLOAT.

Index: bsd.sys.mk
===================================================================
RCS file: /cvs/NetBSD/src/share/mk/bsd.sys.mk,v
retrieving revision 1.1.1.9
diff -c -c -r1.1.1.9 bsd.sys.mk
*** bsd.sys.mk	2001/06/19 18:59:00	1.1.1.9
--- bsd.sys.mk	2001/06/21 21:44:18
***************
*** 2,7 ****
--- 2,12 ----
  #
  # Overrides used for NetBSD source tree builds.
  
+ .if !target(__bsd.sys.mk-initialized__)
+ __bsd.sys.mk-initialized__:
+ .include <bsd.own.mk>
+ .endif
+ 
  .if defined(WARNS)
  .if ${WARNS} > 0
  CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith


Oh, and while I'm here, this is pretty handy for some of us too...

***************
*** 54,60 ****
  
  OBJCOPY?=	objcopy
  STRIP?=		strip
! CONFIG?=	config
  RPCGEN?=	rpcgen
  MKLOCALE?=	mklocale
  
--- 59,65 ----
  
  OBJCOPY?=	objcopy
  STRIP?=		strip
! CONFIG?=	/usr/sbin/config
  RPCGEN?=	rpcgen
  MKLOCALE?=	mklocale
  


-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>     <woods@robohack.ca>
Planix, Inc. <woods@planix.com>;   Secrets of the Weird <woods@weird.com>