Document BUNDLE_LIBS.

Differential Revision:	https://reviews.freebsd.org/D887
Reviewed by:	bcr, bapt
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2014-10-03 17:05:29 +00:00
parent 5ac1665b99
commit 7410c65b8f
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=45713

View file

@ -222,6 +222,18 @@
<para>Only use bundled libraries if the upstream has a
good track record on security and using unbundled versions
leads to overly complex patches.</para>
<note>
<para>In some very special cases, for example emulators, like
<application>Wine</application>, a port has to bundle
libraries, because they are in a different architecture, or
they have been modified to fit the software's use. In that
case, those libraries should not be exposed to other ports
for linking. Add <literal>BUNDLE_LIBS=yes</literal> to the
port's <filename>Makefile</filename>. This will tell
&man.pkg.8; to not compute provided libraries. Always ask
the &a.portmgr; before adding this to a port.</para>
</note>
</sect2>
</sect1>