summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-09-13 07:32:54 +0000
committerwiz <wiz@pkgsrc.org>2014-09-13 07:32:54 +0000
commit8a60de8b7961d5756be46de329fc71612bcfd6ee (patch)
tree25f19e2d36b9fea5aa5280546019d37bd4d4d1e4 /doc/guide
parentd2059f170aff093d7f083e749b9e7ef863010349 (diff)
downloadpkgsrc-8a60de8b7961d5756be46de329fc71612bcfd6ee.tar.gz
Fix REPLACE_PERL description and extend REPLACE_{,C,K,BA}SH one.
Diffstat (limited to 'doc/guide')
-rw-r--r--doc/guide/files/fixes.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/guide/files/fixes.xml b/doc/guide/files/fixes.xml
index 1c85746e4a1..0361bfcfaf4 100644
--- a/doc/guide/files/fixes.xml
+++ b/doc/guide/files/fixes.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: fixes.xml,v 1.123 2013/08/24 16:55:21 bsiegert Exp $ -->
+<!-- $NetBSD: fixes.xml,v 1.124 2014/09/13 07:32:54 wiz Exp $ -->
<chapter id="fixes"> <?dbhtml filename="fixes.html"?>
<title>Making your package work</title>
@@ -1094,9 +1094,9 @@ pre-configure:
and set <varname>REPLACE_PERL</varname> to ensure that the proper
interpreter path is set. <varname>REPLACE_PERL</varname> should
contain a list of scripts, relative to <varname>WRKSRC</varname>,
- that you want adjusted. Every occurrence of
- <filename>*/bin/perl</filename> will be replaced with the full
- path to the perl executable.</para>
+ that you want adjusted. Every occurrence of
+ <filename>*/bin/perl</filename> in a she-bang line will be
+ replaced with the full path to the perl executable.</para>
<para>If a particular version of perl is needed, set the
<varname>PERL5_REQD</varname> variable to the version number. The
@@ -1114,6 +1114,10 @@ pre-configure:
and <varname>REPLACE_KSH</varname> can be used to replace shell
hash bangs in files. Please use the appropriate one, prefering
<varname>REPLACE_SH</varname> in case this shell is sufficient.
+ Each should contain a list of scripts, relative to
+ <varname>WRKSRC</varname>, that you want adjusted. Every
+ occurrence of the matching shell in a she-bang line will be
+ replaced with the full path to the shell executable.
When using <varname>REPLACE_BASH</varname>, don't forget to add
<filename>bash</filename> to <varname>USE_TOOLS</varname>.</para>
</sect2>