Subject: Re: build of -current from today fails on libexec/kpasswdd
To: None <current-users@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: current-users
Date: 07/05/2001 14:17:41
[ On Wednesday, July 4, 2001 at 23:13:15 (+0100), Chris Gilbert wrote: ]
> Subject: Re: build of -current from today fails on libexec/kpasswdd
>
> Yes I did an fgrep, ignoring any file with Makefile in it's name and found 
> that kdump/mkioctls uses DESTDIR, and that's a shell script called by 
> Makefile.ioctl-c, which is included by the Makefile. (unless I'm also not 
> reading the Makefile's closely enough again)

That script does use DESTDIR, but if DESTDIR's not set then it won't
have any problems (so long as the build system's include files are
up-to-date too, which currently they must be anyway).

Index: Makefile.ioctl-c
===================================================================
RCS file: /cvs/NetBSD/src/usr.bin/kdump/Makefile.ioctl-c,v
retrieving revision 1.1.1.3
diff -c -u -r1.1.1.3 Makefile.ioctl-c
--- Makefile.ioctl-c	2001/03/25 06:35:52	1.1.1.3
+++ Makefile.ioctl-c	2001/07/05 18:14:44
@@ -1,7 +1,7 @@
 #	$NetBSD: Makefile.ioctl-c,v 1.2 2000/07/27 11:51:14 mrg Exp $
 
 ioctl.c: mkioctls ${DESTDIR}/usr/include/sys/ioctl.h ${DESTDIR}/usr/include/sys/ioctl_compat.h
-	/bin/sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include/sys/ioctl.h \
+	DESTDIR=${DESTDIR} /bin/sh ${.CURDIR}/../kdump/mkioctls ${DESTDIR}/usr/include/sys/ioctl.h \
 	    ${DESTDIR}/usr/include/sys/ioctl_compat.h > ioctl.c
 
 ${DESTDIR}/usr/include/sys/ioctl.h ${DESTDIR}/usr/include/sys/ioctl_compat.h: .PRECIOUS


-- 
							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>