diff options
author | tron <tron@pkgsrc.org> | 1999-09-03 21:05:58 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-09-03 21:05:58 +0000 |
commit | e060ba7d03b49bac742377078089f756c136dcde (patch) | |
tree | da5a341827b32e41f7945edf24de1ef4b118b6eb /mk | |
parent | 1a411b40eb57da868b2bd9c103eda953c68a13bc (diff) | |
download | pkgsrc-e060ba7d03b49bac742377078089f756c136dcde.tar.gz |
Don't try to record non existing patch files in "BuildVersion".
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index c6944299d0f..02a64d04308 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.333 1999/09/03 02:43:51 sakamoto Exp $ +# $NetBSD: bsd.pkg.mk,v 1.334 1999/09/03 21:05:58 tron Exp $ # # This file is in the public domain. # @@ -2291,7 +2291,9 @@ fake-pkg: ${PLIST} ${DESCR} done; \ if [ -f ${PATCH_SUM_FILE} ]; then \ for f in `${AWK} '$$1 == "MD5" { gsub("[()]", "", $$2); print $$2 }' < ${PATCH_SUM_FILE}`; do \ - files="$$files ${PATCHDIR}/$$f"; \ + if [ -f $$f ]; then \ + files="$$files ${PATCHDIR}/$$f"; \ + fi; \ done; \ fi; \ if [ -d ${PATCHDIR} ]; then \ |