Check-in [c60d5d2fe2]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Document new libdepends way
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c60d5d2fe2af2351794b4302580a716bb6eff92f
User & Date: bapt 2013-07-29 16:46:33
Context
2013-07-29
17:06
Add some fixes reported by rene check-in: a47b08c48c user: bapt tags: trunk
16:46
Document new libdepends way check-in: c60d5d2fe2 user: bapt tags: trunk
16:39
Document options helpers check-in: d11b73831a user: bapt tags: trunk
Changes

Added update-lib_depends.patch.

































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Index: book.xml
===================================================================
diff --git a/head/en_US.ISO8859-1/books/porters-handbook/book.xml b/head/en_US.ISO8859-1/books/porters-handbook/book.xml
--- a/head/en_US.ISO8859-1/books/porters-handbook/book.xml	(revision 42469)
+++ b/head/en_US.ISO8859-1/books/porters-handbook/book.xml	(working copy)
@@ -3565,36 +3565,20 @@
 
 	<para>This variable specifies the shared libraries this port
 	  depends on.  It is a list of
-	  <replaceable>lib</replaceable>:<replaceable>dir</replaceable><optional><replaceable>:target</replaceable></optional>
+	  <replaceable>lib</replaceable>:<replaceable>dir</replaceable>
 	  tuples where <replaceable>lib</replaceable> is the name of
 	  the shared library, <replaceable>dir</replaceable> is the
-	  directory in which to find it in case it is not available,
-	  and <replaceable>target</replaceable> is the target to call
-	  in that directory.  For example,</para>
+	  directory in which to find it in case it is not available.
+	  For example,</para>
 
-	<programlisting>LIB_DEPENDS=   jpeg:${PORTSDIR}/graphics/jpeg</programlisting>
+	<programlisting>LIB_DEPENDS=   libjpeg.so:${PORTSDIR}/graphics/jpeg</programlisting>
 
 	<para>will check for a shared jpeg library with any version,
 	  and descend into the
 	  <filename>graphics/jpeg</filename> subdirectory of your
-	  ports tree to build and install it if it is not found.  The
-	  <replaceable>target</replaceable> part can be omitted if it
-	  is equal to <makevar>DEPENDS_TARGET</makevar> (which
-	  defaults to <literal>install</literal>).</para>
+	  ports tree to build and install it if it is not found.
+	</para>
 
-	<note>
-	  <para>The <replaceable>lib</replaceable> part is a regular
-	    expression which is being looked up in the
-	    <command>ldconfig -r</command> output.  Values such as
-	    <literal>intl.9</literal> and
-	    <literal>intl.[5-7]</literal> are allowed.  The first
-	    pattern, <literal>intl.9</literal>, will match only
-	    version 9 of intl, while <literal>intl.[5-7]</literal>,
-	    will match any of: <literal>intl.5</literal>,
-	    <literal>intl.6</literal> or
-	    <literal>intl.7</literal>.</para>
-	</note>
-
 	<para>The dependency is checked twice, once from within the
 	  <maketarget>extract</maketarget> target and then from within
 	  the <maketarget>install</maketarget> target.  Also, the name