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

snc at macports.org snc at macports.org
Sun Nov 6 20:57:09 PST 2011


Revision: 86920
          http://trac.macports.org/changeset/86920
Author:   snc at macports.org
Date:     2011-11-06 20:57:04 -0800 (Sun, 06 Nov 2011)
Log Message:
-----------
base: lint warning for using subport livecheck

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

Modified: trunk/base/src/port1.0/portlint.tcl
===================================================================
--- trunk/base/src/port1.0/portlint.tcl	2011-11-07 03:57:48 UTC (rev 86919)
+++ trunk/base/src/port1.0/portlint.tcl	2011-11-07 04:57:04 UTC (rev 86920)
@@ -292,6 +292,7 @@
     global description long_description platforms categories all_variants
     global maintainers license homepage master_sites checksums patchfiles
     global depends_fetch depends_extract depends_lib depends_build depends_run distfiles fetch.type
+    global livecheck.type subport name
     
     global lint_portsystem lint_platforms
     global lint_required lint_optional
@@ -554,6 +555,10 @@
 
     }
 
+    if {$subport != $name && ${livecheck.type} != "none"} {
+        ui_warn "livecheck set for subport $subport"
+    }
+
     # these checks are only valid for ports stored in the regular tree directories
     if {[info exists category] && $portcatdir != $category} {
         ui_error "Portfile parent directory $portcatdir does not match primary category $category"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111106/96a95ebb/attachment.html>


More information about the macports-changes mailing list