diff options
author | wiz <wiz> | 2001-06-09 12:56:21 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-06-09 12:56:21 +0000 |
commit | 5043f184b65c4f20bee58785b64eceac1f1d6dbb (patch) | |
tree | 69bb517b2843e6cd9c23a128b94089e51d731f72 | |
parent | 3dce6e8b7e2301fa22e4b1f388d325c26571c4c3 (diff) | |
download | pkgsrc-5043f184b65c4f20bee58785b64eceac1f1d6dbb.tar.gz |
Fix 'make mdi' when no previous distinfo-file exists.
-rw-r--r-- | mk/bsd.pkg.mk | 6 |
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}; \ |