[58044] trunk/doc-new/guide/xml/portfile-dependencies.xml

ryandesign at macports.org ryandesign at macports.org
Mon Sep 21 00:55:32 PDT 2009


Revision: 58044
          http://trac.macports.org/changeset/58044
Author:   ryandesign at macports.org
Date:     2009-09-21 00:55:27 -0700 (Mon, 21 Sep 2009)
Log Message:
-----------
portfile-dependencies.xml: Correct the documentation of how to specify bin:-, lib:- and path:-style dependencies; see #21471

Modified Paths:
--------------
    trunk/doc-new/guide/xml/portfile-dependencies.xml

Modified: trunk/doc-new/guide/xml/portfile-dependencies.xml
===================================================================
--- trunk/doc-new/guide/xml/portfile-dependencies.xml	2009-09-21 06:53:41 UTC (rev 58043)
+++ trunk/doc-new/guide/xml/portfile-dependencies.xml	2009-09-21 07:55:27 UTC (rev 58044)
@@ -99,8 +99,17 @@
     <para>File dependencies may be of three types: <option>bin</option> for
     programs, <option>lib</option> for libraries, and <option>path</option>
     for any installed file. File dependencies are specifed in the form:
-    <replaceable>&lt;type&gt;</replaceable>:<replaceable>&lt;filename&gt;</replaceable>:<replaceable>&lt;port&gt;</replaceable>.
-    <replaceable>&lt;filename&gt;</replaceable> is relative to
+    <replaceable>&lt;type&gt;</replaceable>:<replaceable>&lt;filespec&gt;</replaceable>:<replaceable>&lt;port&gt;</replaceable>.
+    For <option>bin</option> dependencies,
+    <replaceable>&lt;filespec&gt;</replaceable> is the name of a program in a
+    bin directory like <filename>${prefix}/bin</filename>. For
+    <option>lib</option> dependencies,
+    <replaceable>&lt;filespec&gt;</replaceable> is the name of a library in a
+    lib directory like <filename>${prefix}/lib</filename> but without its
+    extension. For <option>path</option> dependencies,
+    <replaceable>&lt;filespec&gt;</replaceable> is the complete absolute path
+    to the file, or more usually, when the file is inside
+    <filename>${prefix}</filename>, it is specified relative to
     <filename>${prefix}</filename>.</para>
 
     <para>Note that the <replaceable>&lt;port&gt;</replaceable> specified is
@@ -112,10 +121,5 @@
 depends_build       bin:glibtool:libtool
 
 depends_run         path:lib/libltdl.a:libtool</programlisting>
-
-    <note>
-      <para>When using lib dependencies, only the library name is specified
-      —not its extension. (e.g. ".dylib" ".so", etc.)</para>
-    </note>
   </section>
 </section>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090921/738d43be/attachment.html>


More information about the macports-changes mailing list