Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/salt sysutils/salt: allow no-op SUBST block



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1bfe8499126
branches:  trunk
changeset: 431825:d1bfe8499126
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat May 16 17:45:49 2020 +0000

description:
sysutils/salt: allow no-op SUBST block

A typical case is that PKGMANDIR is man, not share/man.  That path does
not occur in the Python files, which would then make the build fail in
SUBST_NOOP_OK=no mode.

diffstat:

 sysutils/salt/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r fc385aeec760 -r d1bfe8499126 sysutils/salt/Makefile
--- a/sysutils/salt/Makefile    Sat May 16 17:44:34 2020 +0000
+++ b/sysutils/salt/Makefile    Sat May 16 17:45:49 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2019/11/13 14:47:59 adam Exp $
+# $NetBSD: Makefile,v 1.72 2020/05/16 17:45:49 rillig Exp $
 
 DISTNAME=      salt-2019.2.2
 CATEGORIES=    sysutils
@@ -74,6 +74,7 @@
 SUBST_SED.fix-path+=   -e 's,/var/run,${VARBASE}/run,g'
 SUBST_SED.fix-path+=   -e 's,/var/cache,${VARBASE}/cache,g'
 SUBST_SED.fix-path+=   -e 's,/var/log,${VARBASE}/log,g'
+SUBST_NOOP_OK.fix-path=        yes
 
 # Contains hardcoded paths to find installed libraries.
 CHECK_WRKREF_SKIP+=    */salt/utils/rsax931.py



Home | Main Index | Thread Index | Old Index