summaryrefslogtreecommitdiff
path: root/devel/autogen/patches/patch-autoopts_mk-tpl-config.sh
blob: 76c9b185ca35f27e284f7109d373d3e940026d4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-autoopts_mk-tpl-config.sh,v 1.1 2016/07/16 20:00:14 wiz Exp $

Allow passing in perl path, to avoid reference to tools/ dir.

--- autoopts/mk-tpl-config.sh.orig	2015-08-08 23:12:01.000000000 +0000
+++ autoopts/mk-tpl-config.sh
@@ -98,7 +98,7 @@ fix_scripts() {
         st=`sed 1q $f`
 
         case "$st" in
-        *perl ) echo '#!' `which perl`
+        *perl ) echo '#!' ${PERL5}
                  sed 1d $f
                  ;;