Changeset 84555


Ignore:
Timestamp:
Sep 28, 2011, 1:23:03 AM (9 years ago)
Author:
snc@…
Message:

base: lint error when license is not set, #30194

File:
1 edited

Legend:

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

    r78249 r84555  
    4444    "master_sites" \
    4545    "checksums" \
     46    "license"
    4647    ]
    4748
     
    290291    set portarch [get_canonical_archs]
    291292    global description long_description platforms categories all_variants
    292     global maintainers homepage master_sites checksums patchfiles
     293    global maintainers license homepage master_sites checksums patchfiles
    293294    global depends_fetch depends_extract depends_lib depends_build depends_run distfiles fetch.type
    294295   
     
    501502    }
    502503
     504    if {[string match "unknown" $license]} {
     505        ui_error "$license license"
     506        incr errors
     507    }
     508
    503509    # these checks are only valid for ports stored in the regular tree directories
    504510    if {[info exists category] && $portcatdir != $category} {
Note: See TracChangeset for help on using the changeset viewer.