Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2018 20:05:39 +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: r485359 - in head/ports-mgmt/portlint: . src
Message-ID:  <201811192005.wAJK5d6B046802@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 ".



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811192005.wAJK5d6B046802>