pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/configure mk/configure/replace-localedir.mk: allow ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/619046b837ad
branches:  trunk
changeset: 426398:619046b837ad
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Mar 30 22:57:18 2020 +0000

description:
mk/configure/replace-localedir.mk: allow SUBST to be a no-op

Since the SUBST_FILES of this class are generated by running find(1) in
WRKSRC, there may be files that are unaffected by the substitution.

diffstat:

 mk/configure/replace-localedir.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 2aa0a07285ee -r 619046b837ad mk/configure/replace-localedir.mk
--- a/mk/configure/replace-localedir.mk Mon Mar 30 22:54:24 2020 +0000
+++ b/mk/configure/replace-localedir.mk Mon Mar 30 22:57:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace-localedir.mk,v 1.2 2006/08/03 16:49:48 salo Exp $
+# $NetBSD: replace-localedir.mk,v 1.3 2020/03/30 22:57:18 rillig Exp $
 
 ######################################################################
 ### replace-localedir (PRIVATE)
@@ -44,3 +44,4 @@
        -e 's|^\(itlocaledir[   :]*=\).*|\1 ${_PKGLOCALEDIR}|'          \
        -e 's|^\(gnulocaledir[  :]*=\).*|\1 ${_PKGLOCALEDIR}|'          \
        -e 's|\(-DLOCALEDIR[    ]*=\)[^         ]*\(\.\*\)|\1"\\"${_PKGLOCALEDIR}\\""\2|'
+SUBST_NOOP_OK.pkglocaledir=    yes



Home | Main Index | Thread Index | Old Index