[33774] trunk/doc-new/guide/xml/portfile-variants.xml

markd at macports.org markd at macports.org
Mon Feb 4 18:10:42 PST 2008


Revision: 33774
          http://trac.macosforge.org/projects/macports/changeset/33774
Author:   markd at macports.org
Date:     2008-02-04 18:10:22 -0800 (Mon, 04 Feb 2008)

Log Message:
-----------
Specify the legal characters for variant names.

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

Modified: trunk/doc-new/guide/xml/portfile-variants.xml
===================================================================
--- trunk/doc-new/guide/xml/portfile-variants.xml	2008-02-05 02:06:57 UTC (rev 33773)
+++ trunk/doc-new/guide/xml/portfile-variants.xml	2008-02-05 02:10:22 UTC (rev 33774)
@@ -20,9 +20,9 @@
     <code>default_variants</code> (see below).</para>
 
     <note>
-      <para>Variant names must not contain hyphens; use underscores instead.
-      For example, use <code>no_x11</code> rather than
-      <code>no-x11</code>.</para>
+      <para>Variant names may contain only the characters A-Z, a-z, and the
+      underscore character <quote>_</quote>. Therefore, take care to never use
+      hyphens in variant names.</para>
     </note>
 
     <variablelist>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080204/74e0244e/attachment.html


More information about the macports-changes mailing list