On second thoughts, don't make mktemp a host tool. It's only used once, for
creating a temporary directory for maketars, and mkdir can do that safely enough.
This commit is contained in:
parent
a98e52cc55
commit
c18f2e8b59
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.43 2002/03/31 18:11:50 bjh21 Exp $
|
||||
# $NetBSD: Makefile,v 1.44 2002/04/01 13:54:00 bjh21 Exp $
|
||||
|
||||
# XXX Note: NO_DBSYM is a stopgap temporary variable for use
|
||||
# with the development of non-NetBSD hosting support. This will go away.
|
||||
|
@ -21,7 +21,7 @@ SUBDIR= host-mkdep .WAIT compat .WAIT \
|
|||
lex .WAIT \
|
||||
${TOOLCHAIN_BITS} \
|
||||
asn1_compile cksum compile_et config lint1 \
|
||||
makefs menuc mklocale mktemp msgc pax pwd_mkdb zic
|
||||
makefs menuc mklocale msgc pax pwd_mkdb zic
|
||||
|
||||
.if ${MKMAN} != "no"
|
||||
SUBDIR+= groff
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.1 2002/03/31 18:11:51 bjh21 Exp $
|
||||
|
||||
HOSTPROGNAME= nbmktemp
|
||||
HOST_SRCDIR= usr.bin/mktemp
|
||||
|
||||
.include "${.CURDIR}/../Makefile.host"
|
|
@ -1,8 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.3 2002/03/31 18:11:51 bjh21 Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2002/04/01 13:54:01 bjh21 Exp $
|
||||
# From: $FreeBSD: src/usr.bin/mktemp/Makefile,v 1.1 1998/04/14 07:39:56 peter Exp $
|
||||
|
||||
PROG= mktemp
|
||||
|
||||
.ifndef HOSTPROG
|
||||
.include <bsd.prog.mk>
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mktemp.c,v 1.3 2002/03/31 18:11:51 bjh21 Exp $ */
|
||||
/* $NetBSD: mktemp.c,v 1.4 2002/04/01 13:54:01 bjh21 Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994, 1995, 1996, 1998 Peter Wemm <peter@netplex.com.au>
|
||||
|
@ -44,16 +44,12 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#if HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#if defined(__RCSID) && !defined(lint)
|
||||
#ifndef lint
|
||||
#if 0
|
||||
static const char rcsid[] =
|
||||
"$FreeBSD: src/usr.bin/mktemp/mktemp.c,v 1.2 1998/05/05 06:13:47 charnier Exp $";
|
||||
#else
|
||||
__RCSID("$NetBSD: mktemp.c,v 1.3 2002/03/31 18:11:51 bjh21 Exp $");
|
||||
__RCSID("$NetBSD: mktemp.c,v 1.4 2002/04/01 13:54:01 bjh21 Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
|
Loading…
Reference in New Issue