diff --git a/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml b/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml index 7c4bce5294..f6cc9e1239 100644 --- a/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml +++ b/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml @@ -222,6 +222,18 @@ Only use bundled libraries if the upstream has a good track record on security and using unbundled versions leads to overly complex patches. + + + In some very special cases, for example emulators, like + Wine, 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 BUNDLE_LIBS=yes to the + port's Makefile. This will tell + &man.pkg.8; to not compute provided libraries. Always ask + the &a.portmgr; before adding this to a port. +