- Remove mentions of DEPENDS variable
This commit is contained in:
parent
2ca48d2107
commit
f358e5d2e0
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=29472
1 changed files with 0 additions and 22 deletions
|
|
@ -3318,19 +3318,6 @@ ALWAYS_KEEP_DISTFILES= yes
|
|||
same as <makevar>DEPENDS_TARGET</makevar>.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title><makevar>DEPENDS</makevar></title>
|
||||
|
||||
<para>If there is a dependency that does not fall into either of the
|
||||
above categories, or your port requires having the source of
|
||||
the other port extracted in addition to having it installed,
|
||||
then use this variable. This is a list of
|
||||
<replaceable>dir</replaceable><optional><replaceable>:target</replaceable></optional>,
|
||||
as there is nothing to check, unlike the previous four. The
|
||||
<replaceable>target</replaceable> part can be omitted if it is the
|
||||
same as <makevar>DEPENDS_TARGET</makevar>.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 id="use-vars">
|
||||
<title><makevar>USE_<replaceable>*</replaceable></makevar></title>
|
||||
|
||||
|
|
@ -3477,15 +3464,6 @@ ALWAYS_KEEP_DISTFILES= yes
|
|||
<programlisting>BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/jpeg:extract</programlisting>
|
||||
|
||||
will always descend to the <literal>jpeg</literal> port and extract it.</para>
|
||||
|
||||
<para>Do not use <makevar>DEPENDS</makevar> unless there is no other
|
||||
way the behavior you want can be accomplished. It will cause the
|
||||
other port to always be built (and installed, by default), and the
|
||||
dependency will go into the packages as well. If this is really
|
||||
what you need, you should probably write it as
|
||||
<literal>BUILD_DEPENDS</literal> and
|
||||
<literal>RUN_DEPENDS</literal> instead—at least the
|
||||
intention will be clear.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue