Page MenuHomeFreeBSD

D5949.id15192.diff
No OneTemporary

D5949.id15192.diff

Index: en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
===================================================================
--- en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
+++ en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml
@@ -1167,16 +1167,45 @@
<application>Perl</application>, <application>PHP</application>,
<application>Python</application>,
<application>Ruby</application>, <application>Tcl</application>,
- and <application>Tk</application> are supported by default. To
- support another interpreter, set
- <varname>SHEBANG_LANG</varname>,
- <varname><replaceable>interp</replaceable>_OLD_CMD</varname> and
- <varname><replaceable>interp</replaceable>_CMD</varname>. For
- example:</para>
-
- <programlisting>SHEBANG_LANG= lua
-lua_OLD_CMD= /usr/bin/lua
-lua_CMD= ${LOCALBASE}/bin/lua</programlisting>
+ and <application>Tk</application> are supported by default.</para>
+
+ <para>There are three configuration variables variables:</para>
+
+ <variablelist>
+ <varlistentry>
+ <term><varname>SHEBANG_LANG</varname></term>
+
+ <listitem>
+ <para>Contains the list of supported interpreters.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname><replaceable>interp</replaceable>_OLD_CMD</varname></term>
+ <listitem>
+ <para>Contains a list of <quote>bad</quote> interpreter
+ commands, will be appended <literal>"/usr/bin/env
+ <replaceable>interp</replaceable>"
+ /bin/<replaceable>interp</replaceable>
+ /usr/bin/<replaceable>interp</replaceable></literal>.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><varname><replaceable>interp</replaceable>_CMD</varname></term>
+
+ <listitem>
+ <para>Contains the <quote>good</quote> path to the command
+ interpreter. It has a default value of
+ <literal>${LOCALBASE}/bin/<replaceable>interp</replaceable></literal>.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ <para>To support another interpreter, set
+ <varname>SHEBANG_LANG</varname>. For example:</para>
+
+ <programlisting>SHEBANG_LANG= lua</programlisting>
<para><literal><replaceable>interp</replaceable>_OLD_CMD</literal>
will contain multiple values. Any entry with spaces must be

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 21, 12:41 AM (15 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31875328
Default Alt Text
D5949.id15192.diff (2 KB)

Event Timeline