- Document the value of the PATH variable used for checking build and runtime

dependencies used on the ports building cluster.

PR:		docs/64342 (inspired by)
Submitted by:	Martin Horcicka <mho@mho.cz>
Approved by:	simon
This commit is contained in:
Pav Lucistnik 2004-12-20 15:08:27 +00:00
parent 4e47c911ac
commit 1cb82c33e8
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=23294

View file

@ -2940,8 +2940,7 @@ PATCHFILES= patch1:test</programlisting>
(<literal>/</literal>), it is treated as a file and its existence
is tested with <command>test -e</command>; otherwise, it is
assumed to be an executable, and <command>which -s</command> is
used to determine if the program exists in the user's search
path.</para>
used to determine if the program exists in the search path.</para>
<para>For example,</para>
@ -2952,7 +2951,7 @@ PATCHFILES= patch1:test</programlisting>
<filename>/usr/local/etc/innd</filename> exists, and build and
install it from the <filename>news/inn</filename> subdirectory of
the ports tree if it is not found. It will also see if an
executable called <command>wish8.0</command> is in your search
executable called <command>wish8.0</command> is in the search
path, and descend into the <filename>x11-toolkits/tk80</filename>
subdirectory of your ports tree to build and install it if it is
not found.</para>
@ -2960,10 +2959,17 @@ PATCHFILES= patch1:test</programlisting>
<note>
<para>In this case, <command>innd</command> is actually an
executable; if an executable is in a place that is not expected
to be in a normal user's search path, you should use the full
to be in the search path, you should use the full
pathname.</para>
</note>
<note>
<para>The official search <envar>PATH</envar> used on the ports
build cluster is</para>
<programlisting>/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin</programlisting>
</note>
<para>The dependency is checked from within the
<maketarget>install</maketarget> target. Also, the name of the
dependency is put into the package so that