Make pwd_mkdb a conditional set so bsd.own.mk can override it

This commit is contained in:
jmc 2001-12-07 02:30:22 +00:00
parent 0ce9aa8e6c
commit 5baaa9092b

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.197 2001/11/30 18:50:09 thorpej Exp $
# $NetBSD: Makefile,v 1.198 2001/12/07 02:30:22 jmc Exp $
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
# Environment variables without default values:
@ -41,6 +41,7 @@
TZDIR= /usr/share/zoneinfo
LOCALTIME?= UTC
PWD_MKDB?= pwd_mkdb
# Flags for creating ISO CDROM image
# mkisofs is expected to be in $PATH, install via pkgsrc/sysutils/cdrecord
@ -169,7 +170,7 @@ install-etc-files:
${DESTDIR}/var/cron/tabs/root
${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 master.passwd \
${DESTDIR}/etc
pwd_mkdb -p ${TARGET_ENDIANNESS} -d ${DESTDIR}/ \
${PWD_MKDB} -p ${TARGET_ENDIANNESS} -d ${DESTDIR}/ \
${DESTDIR}/etc/master.passwd
.if defined(UNPRIVED)
echo "${DESTDIR}/etc/passwd type=file mode=0644 uname=root gname=wheel" \