[143651] trunk/doc-new/guide/xml/using.xml

cal at macports.org cal at macports.org
Wed Dec 16 10:21:51 PST 2015


Revision: 143651
          https://trac.macports.org/changeset/143651
Author:   cal at macports.org
Date:     2015-12-16 10:21:51 -0800 (Wed, 16 Dec 2015)
Log Message:
-----------
guide: clarify variant specifiers in 3.1.10

Closes #50023.

Modified Paths:
--------------
    trunk/doc-new/guide/xml/using.xml

Modified: trunk/doc-new/guide/xml/using.xml
===================================================================
--- trunk/doc-new/guide/xml/using.xml	2015-12-16 18:15:39 UTC (rev 143650)
+++ trunk/doc-new/guide/xml/using.xml	2015-12-16 18:21:51 UTC (rev 143651)
@@ -439,7 +439,7 @@
                 your build at install time. See <link linkend="using.variants.invoking">Invoking Port Variants</link>
                 below to install ports that have variants.</para>
 
-            <programlisting><prompt>$ </prompt><userinput>port variants apache2</userinput></programlisting>
+            <programlisting><prompt>$ </prompt><userinput>port variants apache2 +universal</userinput></programlisting>
 
             <screen>
 apache2 has the variants:
@@ -448,13 +448,15 @@
    openldap: Enable LDAP support through OpenLDAP
 [+]preforkmpm: Use prefork MPM
      * conflicts with eventmpm workermpm
-   universal: Build for multiple architectures
+  +universal: Build for multiple architectures
    workermpm: Use worker MPM
      * conflicts with eventmpm preforkmpm</screen>
 
             <para>This output lists all variants followed by their description. If a variant depends on or conflicts
-                with other variants, a line with the details on that follows. Variant lines that have a
-                <option>+</option> are enabled and those with <option>-</option> are disabled.
+                with other variants, a line detailing that follows. A variant name prefixed by <option>+</option>
+                indicates that it has been enabled (on the command line), while a prefix <option>-</option> indicates
+                that it has been disabled. When bracketed, a prefix <option>+</option> means that the variant is enabled
+                by default.
                 Any <option>[]</option> are derived from the <filename>Portfile</filename>.
                 While <option>()</option> are derived from the <filename>variants.conf</filename>.
                 See <xref
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151216/dcc5393d/attachment.html>


More information about the macports-changes mailing list