Changeset 46783 for trunk/doc-new


Ignore:
Timestamp:
Feb 13, 2009, 2:07:00 AM (10 years ago)
Author:
markd@…
Message:

Add a link that explains DESTDIR well to a note.

File:
1 edited

Legend:

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

    r44872 r46783  
    9595          <varname>${worksrcpath}</varname>.</para>
    9696
     97          <note>
     98            <para>Using a <ulink
     99            url="http://www.gnu.org/prep/standards/html_node/DESTDIR.html"><varname>DESTDIR</varname>
     100            variable</ulink> is a part of standard GNU coding practices, and
     101            this variable must be supported in an application's install
     102            routines for MacPorts' destroot phase to work without manual
     103            Portfile scripting or source patching. Urge developers to fully
     104            support <varname>DESTDIR</varname> in their applications.</para>
     105          </note>
     106
    97107          <para>Understanding the destroot phase is critical to understanding
    98108          MacPorts, because, unlike some port systems, MacPorts "stages" an
     
    115125            </listitem>
    116126          </itemizedlist>
    117 
    118           <note>
    119             <para>The <varname>DESTDIR</varname> variable must be supported in
    120             an application's Makefile for the MacPorts destroot phase to work
    121             properly. Urge developers to fully support
    122             <varname>DESTDIR</varname> in their Makefiles.</para>
    123           </note>
    124127
    125128          <para>Any empty directories in <varname>${destroot}</varname> upon
Note: See TracChangeset for help on using the changeset viewer.