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-interpreter.mk: docu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4aeb20a9cc10
branches:  trunk
changeset: 376957:4aeb20a9cc10
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Mar 11 15:07:45 2018 +0000

description:
mk/configure/replace-interpreter.mk: document variables for show-all

diffstat:

 mk/configure/replace-interpreter.mk |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 23d53aa610c1 -r 4aeb20a9cc10 mk/configure/replace-interpreter.mk
--- a/mk/configure/replace-interpreter.mk       Sun Mar 11 14:59:14 2018 +0000
+++ b/mk/configure/replace-interpreter.mk       Sun Mar 11 15:07:45 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace-interpreter.mk,v 1.14 2018/03/11 14:59:14 rillig Exp $
+# $NetBSD: replace-interpreter.mk,v 1.15 2018/03/11 15:07:45 rillig Exp $
 
 # This file provides common templates for replacing #! interpreters
 # in script files.
@@ -118,3 +118,12 @@
        @${WARNING_MSG} "[replace-interpreter] Empty list of files for ${_lang_}."
 .  endif
 .endfor
+
+_VARGROUPS+=           interp
+.for varname in REPLACE_AWK REPLACE_BASH REPLACE_CSH REPLACE_KSH REPLACE_PERL REPLACE_SH
+_PKG_VARS.interp+=     ${varname}
+.endfor
+_PKG_VARS.interp+=     REPLACE_INTERPRETER
+.for interp in ${REPLACE_INTERPRETER}
+_DEF_VARS.interp+=     REPLACE.${interp}.old REPLACE.${interp}.new REPLACE_FILES.${interp}
+.endfor



Home | Main Index | Thread Index | Old Index