Document the pkgconfig USES
PR: docs/178073 Submitted by: jgh Reviewed by: bjk Approved by: bcr
This commit is contained in:
parent
a447ea5974
commit
a0b6faaeb0
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=41488
2 changed files with 15 additions and 46 deletions
|
@ -5775,52 +5775,6 @@ CMAKE_SOURCE_PATH= ${WRKSRC}/subproject</programlisting>
|
|||
</sect2>
|
||||
</sect1>
|
||||
|
||||
<sect1 id="using-pkg-config">
|
||||
<title>Using <literal>pkg-config</literal></title>
|
||||
|
||||
<para>If your ports requires <literal>pkg-config</literal>,
|
||||
just set <makevar>USE_PKGCONFIG</makevar> to the following
|
||||
possible values:</para>
|
||||
<table frame="none">
|
||||
<title>Values for <makevar>USE_PKGCONFIG</makevar></title>
|
||||
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Definition</entry>
|
||||
<entry>Description</entry>
|
||||
</row>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><makevar>USE_PKGCONFIG= yes</makevar></entry>
|
||||
<entry>The ports uses pkg-config only at build
|
||||
time</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><makevar>USE_PKGCONFIG= build</makevar></entry>
|
||||
<entry>The ports uses pkg-config only at build
|
||||
time</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><makevar>USE_PKGCONFIG= run</makevar></entry>
|
||||
<entry>The ports uses pkg-config only at run
|
||||
time</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><makevar>USE_PKGCONFIG= both</makevar></entry>
|
||||
<entry>The ports uses pkg-config both at build and run
|
||||
time</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
</sect1>
|
||||
|
||||
<sect1 id="using-gettext">
|
||||
<title>Using GNU <literal>gettext</literal></title>
|
||||
|
||||
|
|
|
@ -71,6 +71,21 @@
|
|||
hierarchy.</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>pkgconfig</literal></entry>
|
||||
|
||||
<entry>none, <literal>build</literal>, <literal>run</literal>,
|
||||
<literal>both</literal></entry>
|
||||
|
||||
<entry>Implies that the port uses <filename
|
||||
role="package">devel/pkgconf</filename> in one way or another.
|
||||
With no arguments or with the <literal>build</literal>
|
||||
argument, it implies <command>pkg-config</command> as a build-time
|
||||
dependency; <literal>run</literal> implies a run-time dependency;
|
||||
and <literal>both</literal> implies both run-time and build-time
|
||||
dependencies.</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>qmail</literal></entry>
|
||||
<entry>none, <literal>build</literal>, <literal>run</literal>,
|
||||
|
|
Loading…
Reference in a new issue