summaryrefslogtreecommitdiff
path: root/ports-mgmt/portlint
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2013-10-12 10:14:41 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2013-10-12 10:14:41 +0000
commit39a6d7e3dd45a4020aa0bedc2fa01db6a20d5c9f (patch)
tree4e82dfeccd8edbf74ee2892846a92f81bafe898a /ports-mgmt/portlint
parentRemove expired port: (diff)
- Update to 2.14.5
Changes: * Fix recommending to replace USES=gmake with ${GMAKE} [1] * Ignore USES when recommending to replace direct commands [1] * Fix COMMENT check so it checks for length even if it is not formatted properly [2] PR: ports/181359 [1] Submitted by: Alan Hicks <ahicks@p-o.co.uk> [1] Reported by: many PR: ports/181730 [2] Submitted by: gerald Approved by: maintainer timeout (> 1 month)
Notes
Notes: svn path=/head/; revision=330124
Diffstat (limited to 'ports-mgmt/portlint')
-rw-r--r--ports-mgmt/portlint/Makefile2
-rw-r--r--ports-mgmt/portlint/src/portlint.pl8
2 files changed, 6 insertions, 4 deletions
diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile
index 60f5ccfdeac0..5836f79dfca6 100644
--- a/ports-mgmt/portlint/Makefile
+++ b/ports-mgmt/portlint/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= portlint
-PORTVERSION= 2.14.4
+PORTVERSION= 2.14.5
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl
index f34cffc50b7d..f685cf13746a 100644
--- a/ports-mgmt/portlint/src/portlint.pl
+++ b/ports-mgmt/portlint/src/portlint.pl
@@ -1157,11 +1157,11 @@ sub check_depends_syntax {
"USES[+]=gettext.");
}
- # check USE_GMAKE
+ # check USES=gmake
if ($m{'dep'} =~ /^(gmake|\${GMAKE})$/) {
&perror("WARN", $file, -1, "dependency to $1 ".
"listed in $j. consider using ".
- "USE_GMAKE.");
+ "USES[+]=gmake.");
}
# check USE_QT
@@ -1867,6 +1867,7 @@ ruby sed sh sort sysctl touch tr which xargs xmkmf
&& $curline !~ /^NO_CDROM(.)?=[^\n]+$i/m
&& $curline !~ /^MAINTAINER(.)?=[^\n]+$i/m
&& $curline !~ /^CATEGORIES(.)?=[^\n]+$i/m
+ && $curline !~ /^USES(.)?=[^\n]+$i/m
&& $curline !~ /^WX_COMPS(.)?=[^\n]+$i/m
&& $curline !~ /^\s*#.+$/m
&& $curline !~ /\-\-$i/m
@@ -2839,7 +2840,8 @@ MAINTAINER COMMENT
} else { # check for correctness
if (($makevar{COMMENT} !~ /^["\[0-9A-Z]/) || ($makevar{COMMENT} =~ m/\.$/)) { #"
&perror("WARN", $file, -1, "COMMENT should begin with a capital, and end without a period");
- } elsif (length($makevar{COMMENT}) > 70) {
+ }
+ if (length($makevar{COMMENT}) > 70) {
&perror("WARN", $file, -1, "COMMENT exceeds 70 characters limit.");
}
}