- Document dependencies with minimal version of dependent package
This commit is contained in:
parent
9499ba7434
commit
035368baaf
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=26873
1 changed files with 16 additions and 0 deletions
|
|
@ -3389,6 +3389,22 @@ ALWAYS_KEEP_DISTFILES= yes
|
|||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Minimal version of a dependency</title>
|
||||
|
||||
<para>A minimal version of a dependency can be specified in any
|
||||
<makevar>*_DEPENDS</makevar> variable using the following
|
||||
syntax:</para>
|
||||
|
||||
<programlisting>p5-Spiffy>=0.26:${PORTSDIR}/devel/p5-Spiffy</programlisting>
|
||||
|
||||
<para>The first field contains a dependent package name,
|
||||
which must match the entry in the package database,
|
||||
a comparison sign, and a package version. The dependency
|
||||
is satisfied if p5-Spiffy-0.26 or newer is installed on
|
||||
the machine.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Notes on dependencies</title>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue