diff options
author | cube <cube@pkgsrc.org> | 2003-11-20 15:07:53 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2003-11-20 15:07:53 +0000 |
commit | 2c809162dbb3225caa1d6157951792fc5f572daa (patch) | |
tree | 1f66c9f502aaa6e84135360f90bdbfe1c5084e3e /mk | |
parent | cc293f5f209a64c1b6a000231e6a0fc7c0ed9ced (diff) | |
download | pkgsrc-2c809162dbb3225caa1d6157951792fc5f572daa.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; \ |