Changeset 50375 for trunk/base


Ignore:
Timestamp:
Apr 29, 2009, 11:25:28 PM (11 years ago)
Author:
raimue@…
Message:

port1.0/portlint.tcl:
Ignore *.setup commands defined by port groups.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portlint.tcl

    r50374 r50375  
    246246        }
    247247
    248         if {![regexp {^PortSystem|^PortGroup|^version|^(perl5|ruby|haskell|php5extension|php5peclextension).setup} $line]
     248        # Check for hardcoded version numbers
     249        if {![regexp {^PortSystem|^PortGroup|^version} $line]
     250                && ![regexp {^[a-z0-9]+\.setup} $line]
    249251                && [string first [option version] $line] != -1} {
    250252            ui_warn "Line $lineno seems to hardcode the version number, consider using \${version} instead"
Note: See TracChangeset for help on using the changeset viewer.