summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-06-09 12:56:21 +0000
committerwiz <wiz@pkgsrc.org>2001-06-09 12:56:21 +0000
commitee2b1fc6ba2ec2210d6d42b96716d06df46eb3d5 (patch)
tree69bb517b2843e6cd9c23a128b94089e51d731f72 /mk
parent3984b8abd8bd98fa753c911a4d01e72ac8513f9c (diff)
downloadpkgsrc-ee2b1fc6ba2ec2210d6d42b96716d06df46eb3d5.tar.gz
Fix 'make mdi' when no previous distinfo-file exists.
Diffstat (limited to '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}; \