Use the new cat(1) locking functionality - should solve PR toolchain/16963.
If all goes well, will submit a batch of pull-up requests for netbsd-1-6 presently to bring these additions and fixes into 1.6.
This commit is contained in:
parent
7e7e806c7e
commit
c86d6704bc
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.21 2001/11/24 21:39:20 perry Exp $
|
||||
# $NetBSD: Makefile,v 1.22 2002/06/10 18:47:12 mason Exp $
|
||||
# from: @(#)Makefile 8.2 (Berkeley) 4/16/94
|
||||
|
||||
.include <bsd.own.mk>
|
||||
@ -11,7 +11,7 @@ makedb:
|
||||
${MAKEWHATIS} ${DESTDIR}/usr/share/man
|
||||
.if defined(UNPRIVED)
|
||||
echo "${DESTDIR}/usr/share/man/whatis.db type=file mode=0444 uname=root gname=wheel" | \
|
||||
sed -e 's|^/|./|g' -e 's|//|/|g' >>${METALOG}
|
||||
sed -e 's|^/|./|g' -e 's|//|/|g' | ${CAT} -l >> ${METALOG}
|
||||
.endif
|
||||
.else
|
||||
makedb:
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.28 2002/01/05 07:35:20 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.29 2002/06/10 18:47:12 mason Exp $
|
||||
|
||||
NOOBJ= # defined
|
||||
|
||||
@ -81,10 +81,10 @@ afterinstall: ${DATA} ${REDO}
|
||||
.else
|
||||
find ${TZDIR} -type d | xargs -n 1 printf \
|
||||
"%s type=dir mode=0755 uname=${BINOWN} gname=${BINGRP}\n" | \
|
||||
sed -e 's|^/|./|g' -e 's|//|/|g' >>${METALOG}
|
||||
sed -e 's|^/|./|g' -e 's|//|/|g' | ${CAT} -l >> ${METALOG}
|
||||
find ${TZDIR} -type f | xargs -n 1 printf \
|
||||
"%s type=file mode=0444 uname=${BINOWN} gname=${BINGRP}\n" | \
|
||||
sed -e 's|^/|./|g' -e 's|//|/|g' >>${METALOG}
|
||||
sed -e 's|^/|./|g' -e 's|//|/|g' | ${CAT} -l >> ${METALOG}
|
||||
.endif
|
||||
.else
|
||||
afterinstall:
|
||||
|
Loading…
Reference in New Issue
Block a user