Changeset 47199 for trunk/doc-new


Ignore:
Timestamp:
Feb 23, 2009, 10:06:16 AM (10 years ago)
Author:
raimue@…
Message:

guide:
Document build.env and test.env, closes #16168

File:
1 edited

Legend:

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

    r46784 r47199  
    25382538              <programlisting>build.target-append     doc extra
    25392539build.target-delete     compat</programlisting>
     2540            </listitem>
     2541          </itemizedlist>
     2542        </listitem>
     2543      </varlistentry>
     2544
     2545      <varlistentry>
     2546        <term>build.env</term>
     2547
     2548        <term>build.env-append</term>
     2549
     2550        <term>build.env-delete</term>
     2551
     2552        <listitem>
     2553          <para>Set environment variables for build; list modifiers add
     2554          and delete items from a previous Portfile build.env keyword, or
     2555          a default set by MacPorts base.</para>
     2556
     2557          <itemizedlist>
     2558            <listitem>
     2559              <para>Default: none</para>
    25402560            </listitem>
    25412561          </itemizedlist>
     
    26432663        </listitem>
    26442664      </varlistentry>
     2665
     2666      <varlistentry>
     2667        <term>test.env</term>
     2668
     2669        <term>test.env-append</term>
     2670
     2671        <term>test.env-delete</term>
     2672
     2673        <listitem>
     2674          <para>Set environment variables for test; list modifiers add
     2675          and delete items from a previous Portfile test.env keyword, or
     2676          a default set by MacPorts base.</para>
     2677
     2678          <para>Often <literal>DYLD_LIBRARY_PATH</literal> is set here to
     2679          support testing dynamically linked libraries.</para>
     2680
     2681          <itemizedlist>
     2682            <listitem>
     2683              <para>Default: none</para>
     2684            </listitem>
     2685
     2686            <listitem>
     2687              <para>Example:</para>
     2688
     2689              <programlisting>test.env       <literal>DYLD_LIBRARY_PATH=${worksrcpath}/src/.libs</literal></programlisting>
     2690            </listitem>
     2691          </itemizedlist>
     2692        </listitem>
     2693      </varlistentry>
    26452694    </variablelist>
    26462695  </section>
Note: See TracChangeset for help on using the changeset viewer.