svn commit: r485359 - in head/ports-mgmt/portlint: . src
Joe Marcus Clarke
marcus at FreeBSD.org
Mon Nov 19 20:05:40 UTC 2018
Author: marcus
Date: Mon Nov 19 20:05:38 2018
New Revision: 485359
URL: https://svnweb.freebsd.org/changeset/ports/485359
Log:
Remove the warnings around USE_PYTHON and autoplist.
You can use autoplist with a pkg-plist or PLIST_*. Some ports require this
apparently. Remove these warnings for now until a more robust
duplicate-checking solution can be implemented.
Reported by: koobs
Modified:
head/ports-mgmt/portlint/Makefile
head/ports-mgmt/portlint/src/portlint.pl
Modified: head/ports-mgmt/portlint/Makefile
==============================================================================
--- head/ports-mgmt/portlint/Makefile Mon Nov 19 19:41:32 2018 (r485358)
+++ head/ports-mgmt/portlint/Makefile Mon Nov 19 20:05:38 2018 (r485359)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= portlint
-PORTVERSION= 2.18.6
+PORTVERSION= 2.18.7
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none
Modified: head/ports-mgmt/portlint/src/portlint.pl
==============================================================================
--- head/ports-mgmt/portlint/src/portlint.pl Mon Nov 19 19:41:32 2018 (r485358)
+++ head/ports-mgmt/portlint/src/portlint.pl Mon Nov 19 20:05:38 2018 (r485359)
@@ -15,7 +15,7 @@
# was removed.
#
# $FreeBSD$
-# $MCom: portlint/portlint.pl,v 1.482 2018/10/14 17:47:55 jclarke Exp $
+# $MCom: portlint/portlint.pl,v 1.484 2018/11/19 20:03:35 jclarke Exp $
#
use strict;
@@ -50,7 +50,7 @@ $portdir = '.';
# version variables
my $major = 2;
my $minor = 18;
-my $micro = 6;
+my $micro = 7;
# default setting - for FreeBSD
my $portsdir = '/usr/ports';
@@ -1503,16 +1503,8 @@ sub checkmakefile {
my $python_plist = 0;
if ($makevar{USE_PYTHON} && $makevar{USE_PYTHON} =~ /\bautoplist\b/) {
$python_plist = 1;
- if (-f 'pkg-plist') {
- &perror("WARN", $file, -1, "If you are using python and using autoplist ".
- "you may remove the pkg-plist file.");
- }
}
if ($whole =~ /\nPLIST_FILES.?=/ || $whole =~ /\nPLIST_DIRS.?=/) {
- if ($python_plist) {
- &perror("WARN", $file, -1, "If you are using python and using autoplist you may ".
- "remove the definition of PLIST_FILE.");
- }
if (-f 'pkg-plist') {
my $lineno = &linenumber($`);
&perror("WARN", $file, $lineno, "You may remove pkg-plist ".
More information about the svn-ports-all
mailing list