diff options
author | cube <cube> | 2003-11-20 15:07:53 +0000 |
---|---|---|
committer | cube <cube> | 2003-11-20 15:07:53 +0000 |
commit | 1b0801981cc96b69f1cb0c927ebeadb84d937f4b (patch) | |
tree | 1f66c9f502aaa6e84135360f90bdbfe1c5084e3e /mk | |
parent | 4c460d9a919902a3dd638348f6486247b4b8d87f (diff) | |
download | pkgsrc-1b0801981cc96b69f1cb0c927ebeadb84d937f4b.tar.gz |
When there is no distinfo file, do not apply patches we would not
normally apply: treat them as if the distinfo file was empty.
This solves the reason why pkgtools/pkg_install/distinfo was resurrected,
and allows us to remove it again, since it had the side effect of
introducing a dependency on digest, which is not acceptable when updating
pkg_install: it made it impossible to use the pkgsrc tree, as reported
by several people.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 16a6d1fff47..4da9fe71845 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1301 2003/11/02 14:36:46 wiz Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1302 2003/11/20 15:07:53 cube Exp $ # # This file is in the public domain. # @@ -2186,6 +2186,11 @@ do-patch: uptodate-digest fail="$$fail $$filename"; \ continue; \ fi; \ + else \ + ${ECHO_MSG} "**************************************"; \ + ${ECHO_MSG} "Ignoring unknown patch file: $$i"; \ + ${ECHO_MSG} "**************************************"; \ + continue; fi; \ ;; \ esac; \ |