1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

- 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)
This commit is contained in:
Bryan Drewery 2013-10-12 10:14:41 +00:00
parent d41a74d43a
commit 39a6d7e3dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330124
2 changed files with 6 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= portlint
PORTVERSION= 2.14.4
PORTVERSION= 2.14.5
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none

View File

@ -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.");
}
}