[139407] branches/gsoc15-portfile/base/src/port1.0/portlint.tcl
chunyang at macports.org
chunyang at macports.org
Sun Aug 16 01:42:56 PDT 2015
Revision: 139407
https://trac.macports.org/changeset/139407
Author: chunyang at macports.org
Date: 2015-08-16 01:42:55 -0700 (Sun, 16 Aug 2015)
Log Message:
-----------
base: Don't use parent directories check of port-lint
Modified Paths:
--------------
branches/gsoc15-portfile/base/src/port1.0/portlint.tcl
Modified: branches/gsoc15-portfile/base/src/port1.0/portlint.tcl
===================================================================
--- branches/gsoc15-portfile/base/src/port1.0/portlint.tcl 2015-08-16 08:27:33 UTC (rev 139406)
+++ branches/gsoc15-portfile/base/src/port1.0/portlint.tcl 2015-08-16 08:42:55 UTC (rev 139407)
@@ -659,18 +659,18 @@
}
# 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"
- incr errors
- } else {
- ui_info "OK: Portfile parent directory matches primary category"
- }
- if {$portdir != $name} {
- ui_error "Portfile directory $portdir does not match port name $name"
- incr errors
- } else {
- ui_info "OK: Portfile directory matches port name"
- }
+ # if {[info exists category] && $portcatdir != $category} {
+ # ui_error "Portfile parent directory $portcatdir does not match primary category $category"
+ # incr errors
+ # } else {
+ # ui_info "OK: Portfile parent directory matches primary category"
+ # }
+ # if {$portdir != $name} {
+ # ui_error "Portfile directory $portdir does not match port name $name"
+ # incr errors
+ # } else {
+ # ui_info "OK: Portfile directory matches port name"
+ # }
if {$nitpick && [info exists patchfiles]} {
foreach patchfile $patchfiles {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150816/03dbffb1/attachment.html>
More information about the macports-changes
mailing list