Subject: Re: problems building -current from Feb-13-1999
To: None <current-users@netbsd.org>
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
List: current-users
Date: 02/14/1999 13:25:23
In message <Pine.LNX.4.04.9902131830010.24562-100000@feral-gw>
	on Sat, 13 Feb 1999 18:30:14 -0800 (PST),
	Matthew Jacob <mjacob@feral.com> wrote:
> install new .mk files from /usr/src/share/mk.
...
> > This happens when doing a "make build" :
But, make build should install new .mk files?

I have also encountered error at gnu/games/chess/Makefile, 
and patched it.

Index: Makefile
===================================================================
RCS file: /usr/local/libdata/cvs/netbsd/gnu/games/chess/Makefile,v
retrieving revision 1.1.1.1.2.1
diff -c -r1.1.1.1.2.1 Makefile
*** Makefile	1999/02/14 03:28:31	1.1.1.1.2.1
--- Makefile	1999/02/14 04:06:54
***************
*** 7,12 ****
--- 7,13 ----
  DPADD=	${LIBCURSES} ${LIBGNUMALLOC}
  LDADD=	-lcurses -lgnumalloc
  HIDEGAME=hidegame
+ .include <bsd.own.mk>
  .if ${MKSHARE} != "no"
  FILES=gnuchess.book
  FILESDIR=/usr/share/games


I've also find lkm modules's compile failer.  This patch should apply.

Index: bsd.kmod.mk
===================================================================
RCS file: /usr/local/libdata/cvs/netbsd/share/mk/bsd.kmod.mk,v
retrieving revision 1.1.1.1.2.1
diff -c -r1.1.1.1.2.1 bsd.kmod.mk
*** bsd.kmod.mk	1999/02/05 00:07:58	1.1.1.1.2.1
--- bsd.kmod.mk	1999/02/14 04:23:12
***************
*** 35,41 ****
  	${LD} -r ${LDFLAGS} -o tmp.o ${OBJS}
  	mv tmp.o ${.TARGET}
  
! .if	!defined(MAN)
  MAN=	${KMOD}.4
  .endif
  
--- 35,41 ----
  	${LD} -r ${LDFLAGS} -o tmp.o ${OBJS}
  	mv tmp.o ${.TARGET}
  
! .if ${MKMAN} != "no" && !defined(MAN)
  MAN=	${KMOD}.4
  .endif
  


--
Takahiro Kambe <taca@sky.yamashina.kyoto.jp>