From 0d83fdc5cd2e2d66ece1d3ee73b0db9aa5e85d86 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Wed, 28 Aug 2013 15:03:52 +0000 Subject: [PATCH] - Add the following from bapt@ - Document new libdepends way - Add motif to the uses list - USE_DISPLAY is now USES=display --- .../books/porters-handbook/book.xml | 30 +++++-------------- .../books/porters-handbook/uses.xml | 11 +++++++ 2 files changed, 18 insertions(+), 23 deletions(-) diff --git a/en_US.ISO8859-1/books/porters-handbook/book.xml b/en_US.ISO8859-1/books/porters-handbook/book.xml index 8f77c40caa..2499a95b9b 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.xml +++ b/en_US.ISO8859-1/books/porters-handbook/book.xml @@ -3565,35 +3565,19 @@ ALWAYS_KEEP_DISTFILES= yes This variable specifies the shared libraries this port depends on. It is a list of - lib:dir:target + lib:dir tuples where lib is the name of the 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, + directory in which to find it in case it is not available. + For example, - LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg + LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg will check for a shared jpeg library with any version, and descend into the graphics/jpeg subdirectory of your - ports tree to build and install it if it is not found. The - target part can be omitted if it - is equal to DEPENDS_TARGET (which - defaults to install). - - - The lib part is a regular - expression which is being looked up in the - ldconfig -r output. Values such as - intl.9 and - intl.[5-7] are allowed. The first - pattern, intl.9, will match only - version 9 of intl, while intl.[5-7], - will match any of: intl.5, - intl.6 or - intl.7. - + ports tree to build and install it if it is not found. + The dependency is checked twice, once from within the extract target and then from within @@ -6373,7 +6357,7 @@ USE_XORG= x11 xpm X server. The working DISPLAY is then passed to the build. - USE_DISPLAY= yes + USES= display diff --git a/en_US.ISO8859-1/books/porters-handbook/uses.xml b/en_US.ISO8859-1/books/porters-handbook/uses.xml index d80b34c450..5020c9517f 100644 --- a/en_US.ISO8859-1/books/porters-handbook/uses.xml +++ b/en_US.ISO8859-1/books/porters-handbook/uses.xml @@ -120,6 +120,17 @@ dependency. + + motif + (none) + Implies that the ports uses devel/open-motif as a library + dependency. End users can set WANT_LESSTIF + for the dependency to be on devel/lesstif instead of devel/open-motif. + + ncurses (none), base,