[49403] trunk/base/src/port1.0/portlint.tcl

raimue at macports.org raimue at macports.org
Wed Apr 8 19:11:01 PDT 2009


Revision: 49403
          http://trac.macports.org/changeset/49403
Author:   raimue at macports.org
Date:     2009-04-08 19:11:00 -0700 (Wed, 08 Apr 2009)
Log Message:
-----------
port1.0/portlint.tcl:
Get rid of lint_variants, all variants should have a description. Global
variants are covered by variant_descriptions.conf.

Modified Paths:
--------------
    trunk/base/src/port1.0/portlint.tcl

Modified: trunk/base/src/port1.0/portlint.tcl
===================================================================
--- trunk/base/src/port1.0/portlint.tcl	2009-04-09 01:52:46 UTC (rev 49402)
+++ trunk/base/src/port1.0/portlint.tcl	2009-04-09 02:11:00 UTC (rev 49403)
@@ -102,14 +102,6 @@
     "use_configure" \
     ]
 
-set lint_variants [list \
-    "universal" \
-    "docs" \
-    "aqua" \
-    "x11" \
-    ]
-
-
 proc portlint::seems_utf8 {str} {
     set len [string length $str]
     for {set i 0} {$i<$len} {incr i} {
@@ -306,7 +298,7 @@
     global depends_lib depends_build depends_run distfiles fetch.type
     
     global lint_portsystem lint_platforms lint_categories 
-    global lint_required lint_optional lint_variants
+    global lint_required lint_optional
 
     if (!$seen_portsystem) {
         ui_error "Didn't find PortSystem specification"
@@ -424,7 +416,6 @@
             if {![info exists variantdesc] || $variantdesc == ""} {
                 # don't warn about missing descriptions for global variants
                 if {[lsearch -exact $local_variants $variantname] != -1 &&
-                    [lsearch -exact $lint_variants $variantname] == -1 && 
                     [variant_desc $porturl $variantname] == ""} {
                     ui_warn "Variant $variantname does not have a description"
                     incr warnings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090408/e77990a9/attachment-0001.html>


More information about the macports-changes mailing list