Date: Wed, 29 Mar 2017 15:28:56 +0000 (UTC) From: Joe Marcus Clarke <marcus@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437207 - in head/ports-mgmt/portlint: . src Message-ID: <201703291528.v2TFSuqc037808@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marcus Date: Wed Mar 29 15:28:55 2017 New Revision: 437207 URL: https://svnweb.freebsd.org/changeset/ports/437207 Log: 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] Modified: head/ports-mgmt/portlint/Makefile head/ports-mgmt/portlint/src/portlint.pl Modified: head/ports-mgmt/portlint/Makefile ============================================================================== --- head/ports-mgmt/portlint/Makefile Wed Mar 29 15:13:10 2017 (r437206) +++ head/ports-mgmt/portlint/Makefile Wed Mar 29 15:28:55 2017 (r437207) @@ -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 Modified: head/ports-mgmt/portlint/src/portlint.pl ============================================================================== --- head/ports-mgmt/portlint/src/portlint.pl Wed Mar 29 15:13:10 2017 (r437206) +++ head/ports-mgmt/portlint/src/portlint.pl Wed Mar 29 15:28:55 2017 (r437207) @@ -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 ".
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703291528.v2TFSuqc037808>