pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Call replace-names before SU



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f36437d28eda
branches:  trunk
changeset: 390519:f36437d28eda
user:      roy <roy%pkgsrc.org@localhost>
date:      Tue Jan 22 14:29:44 2019 +0000

description:
Call replace-names before SU

This allows the replace target to work with OBJ on NFS where root
isn't allowed.

diffstat:

 mk/install/replace.mk       |  3 ++-
 mk/pkgformat/pkg/replace.mk |  4 +---
 2 files changed, 3 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r d5688574c32b -r f36437d28eda mk/install/replace.mk
--- a/mk/install/replace.mk     Tue Jan 22 14:09:35 2019 +0000
+++ b/mk/install/replace.mk     Tue Jan 22 14:29:44 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.18 2016/04/10 15:58:02 joerg Exp $
+# $NetBSD: replace.mk,v 1.19 2019/01/22 14:29:44 roy Exp $
 #
 # Public targets:
 #
@@ -28,6 +28,7 @@
 _REPLACE_TARGETS+=     package
 .endif
 _REPLACE_TARGETS+=     replace-message
+_REPLACE_TARGETS+=     replace-names
 _REPLACE_TARGETS+=     unprivileged-install-hook
 
 #
diff -r d5688574c32b -r f36437d28eda mk/pkgformat/pkg/replace.mk
--- a/mk/pkgformat/pkg/replace.mk       Tue Jan 22 14:09:35 2019 +0000
+++ b/mk/pkgformat/pkg/replace.mk       Tue Jan 22 14:29:44 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.5 2017/08/19 00:30:19 jlam Exp $
+# $NetBSD: replace.mk,v 1.6 2019/01/22 14:29:44 roy Exp $
 #
 
 # _pkgformat-destdir-replace:
@@ -11,7 +11,6 @@
 # to installing the new package, should be one transaction.
 #
 _pkgformat-replace: \
-       replace-names \
        replace-tarup \
        replace-preserve-installed-info \
        replace-preserve-required-by \
@@ -24,7 +23,6 @@
 
 # tarup is omitted for DESTDIR, because the benefits are very small
 _pkgformat-destdir-replace: \
-       replace-names \
        replace-destdir \
        .PHONY
 



Home | Main Index | Thread Index | Old Index