diff options
author | marcus <marcus@FreeBSD.org> | 2017-03-29 23:28:55 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2017-03-29 23:28:55 +0800 |
commit | f1c4c8ed748e95f3c874da267e62f831f0709dfa (patch) | |
tree | 23f4c55a885b6293f10ddc5f655b3506bac59484 /ports-mgmt/portlint | |
parent | b78f48864614f3f94adb2153f43321770daa2282 (diff) | |
download | freebsd-ports-gnome-f1c4c8ed748e95f3c874da267e62f831f0709dfa.tar.gz freebsd-ports-gnome-f1c4c8ed748e95f3c874da267e62f831f0709dfa.tar.zst freebsd-ports-gnome-f1c4c8ed748e95f3c874da267e62f831f0709dfa.zip |
Update to 2.17.7.
* Fold in the same removal of the obsolete HTTP-only warning
* Add support for checking for direct dependency on bison, fmake, and libexecinfo. [1]
PR: 216268 [1]
Diffstat (limited to 'ports-mgmt/portlint')
-rw-r--r-- | ports-mgmt/portlint/Makefile | 3 | ||||
-rw-r--r-- | ports-mgmt/portlint/src/portlint.pl | 17 |
2 files changed, 16 insertions, 4 deletions
diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile index ac3194c51c49..fde76669458a 100644 --- a/ports-mgmt/portlint/Makefile +++ b/ports-mgmt/portlint/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= portlint -PORTVERSION= 2.17.6 -PORTREVISION= 1 +PORTVERSION= 2.17.7 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 163a29b17e10..ec90d67197ce 100644 --- a/ports-mgmt/portlint/src/portlint.pl +++ b/ports-mgmt/portlint/src/portlint.pl @@ -15,7 +15,7 @@ # was removed. # # $FreeBSD$ -# $MCom: portlint/portlint.pl,v 1.399 2016/12/23 23:18:20 jclarke Exp $ +# $MCom: portlint/portlint.pl,v 1.401 2017/03/29 15:26:37 jclarke Exp $ # use strict; @@ -50,7 +50,7 @@ $portdir = '.'; # version variables my $major = 2; my $minor = 17; -my $micro = 6; +my $micro = 7; # default setting - for FreeBSD my $portsdir = '/usr/ports'; @@ -1142,6 +1142,19 @@ sub check_depends_syntax { "USES[+]=gmake."); } + my %udeps = ( + 'bison' => 'bison', + 'fmake' => 'fmake', + 'libexecinfo.so' => 'execinfo', + ); + foreach my $udep (keys %udeps) { + if ($m{'dep'} =~ /^$udep/) { + &perror("WARN", $file, -1, "dependency to $udep ". + "listed in $j. consider using ". + "USES[+]=$udeps{$udep}."); + } + } + # check USE_QT if ($m{'dep'} =~ /^(qt\d)+$/) { &perror("WARN", $file, -1, "dependency to $1 ". |