svn commit: r437207 - in head/ports-mgmt/portlint: . src
Joe Marcus Clarke
marcus at FreeBSD.org
Wed Mar 29 15:28:57 UTC 2017
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 ".
More information about the svn-ports-all
mailing list