Changeset 58044 for trunk/doc-new


Ignore:
Timestamp:
Sep 21, 2009, 7:55:27 AM (10 years ago)
Author:
ryandesign@…
Message:

portfile-dependencies.xml: Correct the documentation of how to specify bin:-, lib:- and path:-style dependencies; see #21471

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/guide/xml/portfile-dependencies.xml

    r41871 r58044  
    100100    programs, <option>lib</option> for libraries, and <option>path</option>
    101101    for any installed file. File dependencies are specifed in the form:
    102     <replaceable>&lt;type&gt;</replaceable>:<replaceable>&lt;filename&gt;</replaceable>:<replaceable>&lt;port&gt;</replaceable>.
    103     <replaceable>&lt;filename&gt;</replaceable> is relative to
     102    <replaceable>&lt;type&gt;</replaceable>:<replaceable>&lt;filespec&gt;</replaceable>:<replaceable>&lt;port&gt;</replaceable>.
     103    For <option>bin</option> dependencies,
     104    <replaceable>&lt;filespec&gt;</replaceable> is the name of a program in a
     105    bin directory like <filename>${prefix}/bin</filename>. For
     106    <option>lib</option> dependencies,
     107    <replaceable>&lt;filespec&gt;</replaceable> is the name of a library in a
     108    lib directory like <filename>${prefix}/lib</filename> but without its
     109    extension. For <option>path</option> dependencies,
     110    <replaceable>&lt;filespec&gt;</replaceable> is the complete absolute path
     111    to the file, or more usually, when the file is inside
     112    <filename>${prefix}</filename>, it is specified relative to
    104113    <filename>${prefix}</filename>.</para>
    105114
     
    113122
    114123depends_run         path:lib/libltdl.a:libtool</programlisting>
    115 
    116     <note>
    117       <para>When using lib dependencies, only the library name is specified
    118       —not its extension. (e.g. ".dylib" ".so", etc.)</para>
    119     </note>
    120124  </section>
    121125</section>
Note: See TracChangeset for help on using the changeset viewer.