diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index 04551c37ae..4be00c2242 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -3061,8 +3061,8 @@ PATCHFILES= patch1:test shared library, dir is the directory in which to find it in case it is not available, and target is the target to call in that - directory. For example, LIB_DEPENDS= - jpeg.9:${PORTSDIR}/graphics/jpeg:install + directory. For example, + LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg:install will check for a shared jpeg library with major version 9, and descend into the graphics/jpeg subdirectory of your ports tree to build and install it if it is not found. @@ -3071,9 +3071,12 @@ PATCHFILES= patch1:test install). - The lib part is an argument given - to ldconfig -r | grep -wF. There shall be no - regular expressions in this variable. + The lib part is a regular + expression which is being looked up in the + ldconfig -r output. Values such as + intl.[5-7] and intl are + allowed. Latter will match a library intl + with any major version. The dependency is checked twice, once from within the