summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorwiz <wiz>2001-06-09 12:56:21 +0000
committerwiz <wiz>2001-06-09 12:56:21 +0000
commite385385e2987722732c5d29b5903d460541115b0 (patch)
tree69bb517b2843e6cd9c23a128b94089e51d731f72 /mk/bsd.pkg.mk
parente8afa1894a785a8723419f41d1bf2c9102e4d9c1 (diff)
downloadpkgsrc-e385385e2987722732c5d29b5903d460541115b0.tar.gz
Fix 'make mdi' when no previous distinfo-file exists.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 322af98174c..d7add73f756 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.753 2001/06/09 12:15:59 wiz Exp $
+# $NetBSD: bsd.pkg.mk,v 1.754 2001/06/09 12:56:21 wiz Exp $
#
# This file is in the public domain.
#
@@ -2544,6 +2544,10 @@ makepatchsum mps: uptodate-digest
newfile=${DISTINFO_FILE}.$$$$; \
if [ -f ${DISTINFO_FILE} ]; then \
${AWK} '$$2 !~ /\(patch-[a-z0-9]+\)/ { print $$0 }' < ${DISTINFO_FILE} >> $$newfile; \
+ else \
+ ${ECHO} -n "$$" > $$newfile; \
+ ${ECHO} -n "NetBSD" >> $$newfile; \
+ ${ECHO} "$$" >> $$newfile; \
fi; \
if [ -d ${PATCHDIR} ]; then \
(cd ${PATCHDIR}; \