diff options
author | sbd <sbd@pkgsrc.org> | 2012-02-06 06:18:36 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-02-06 06:18:36 +0000 |
commit | 25032ca6361e30dff5a02eb58f553cdf5a01c205 (patch) | |
tree | 38b84b9c1e53ba5c131c9d9e571f262abf979d0f /mk | |
parent | 8936db0bdff8e39f62f2a9d749c7e35eed25fe65 (diff) | |
download | pkgsrc-25032ca6361e30dff5a02eb58f553cdf5a01c205.tar.gz |
Add REPLACE_CSH as a replace interpreter template.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/configure/replace-interpreter.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mk/configure/replace-interpreter.mk b/mk/configure/replace-interpreter.mk index 30faa905d4f..95316dbd3b8 100644 --- a/mk/configure/replace-interpreter.mk +++ b/mk/configure/replace-interpreter.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace-interpreter.mk,v 1.10 2011/05/20 15:02:27 wiz Exp $ +# $NetBSD: replace-interpreter.mk,v 1.11 2012/02/06 06:18:36 sbd Exp $ # This file provides common templates for replacing #! interpreters # in script files. @@ -7,6 +7,7 @@ # # REPLACE_AWK # REPLACE_BASH +# REPLACE_CSH # REPLACE_KSH # REPLACE_PERL # REPLACE_SH @@ -42,6 +43,7 @@ do-configure-pre-hook: replace-interpreter REPLACE_INTERPRETER?= # none REPLACE_AWK?= # none REPLACE_BASH?= # none +REPLACE_CSH?= # none REPLACE_KSH?= # none REPLACE_PERL?= # none REPLACE_SH?= # none @@ -60,6 +62,13 @@ REPLACE.sys-bash.new= ${BASH} REPLACE_FILES.sys-bash= ${REPLACE_BASH} .endif +.if !empty(REPLACE_CSH:M*) +REPLACE_INTERPRETER+= sys-csh +REPLACE.sys-csh.old= .*csh +REPLACE.sys-csh.new= ${CSH} +REPLACE_FILES.sys-csh= ${REPLACE_CSH} +.endif + .if !empty(REPLACE_KSH:M*) REPLACE_INTERPRETER+= sys-ksh REPLACE.sys-ksh.old= [^[:space:]]*sh |