diff options
author | gdt <gdt@pkgsrc.org> | 2016-09-19 12:26:08 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2016-09-19 12:26:08 +0000 |
commit | 4719057afd9f847963676f81456b39564acc6e52 (patch) | |
tree | c082a8b2ef7619cf6f8953b8e36b3043d1cf6e62 /mk/pkgformat | |
parent | 8d7d4bd357b7d4042598b1c5a64a9c04ac71b1bf (diff) | |
download | pkgsrc-4719057afd9f847963676f81456b39564acc6e52.tar.gz |
Omit pkg_tarup during replace in destdir mode
In destdir mode (the default), make replace creates the replacement
binary package without modifying the installed system, and then
installs it via pkg_add -u. Thus, the new package is known to have
built and packaged ok before the system is changed, and the risk of
trouble is low; thus the benefit of tarring up the installed package
is very low, especially since the newly-tarred-up package is removed
by "make clean". Using pkg_tarup costs cycles to run and more
importantly causes users to have to install it since it is not an
automatic dependency.
In addition, binary packages are now kept by default when building, so
the old version should be accessible in case of trouble.
This commit does not change the non-destdir case. Almost no one uses
that method, and the relative benefit of tarup is much higher.
Diffstat (limited to 'mk/pkgformat')
-rw-r--r-- | mk/pkgformat/pkg/replace.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/pkgformat/pkg/replace.mk b/mk/pkgformat/pkg/replace.mk index 14da7155630..1ef8637a690 100644 --- a/mk/pkgformat/pkg/replace.mk +++ b/mk/pkgformat/pkg/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.3 2016/04/10 15:58:03 joerg Exp $ +# $NetBSD: replace.mk,v 1.4 2016/09/19 12:26:08 gdt Exp $ # # _pkgformat-destdir-replace: @@ -22,9 +22,9 @@ _pkgformat-replace: \ replace-fixup-installed-info \ .PHONY +# tarup is omitted for DESTDIR, because the benefits are very small _pkgformat-destdir-replace: \ replace-names \ - replace-tarup \ replace-destdir \ .PHONY |