svn commit: r482100 - in head/ports-mgmt/portlint: . src

Joe Marcus Clarke marcus at FreeBSD.org
Sun Oct 14 17:50:33 UTC 2018


Author: marcus
Date: Sun Oct 14 17:50:32 2018
New Revision: 482100
URL: https://svnweb.freebsd.org/changeset/ports/482100

Log:
  Update to 2.18.6.
  
  Fix an uninitialized variable warning in non-Python ports.
  
  Reported by:	leres

Modified:
  head/ports-mgmt/portlint/Makefile
  head/ports-mgmt/portlint/src/portlint.pl

Modified: head/ports-mgmt/portlint/Makefile
==============================================================================
--- head/ports-mgmt/portlint/Makefile	Sun Oct 14 17:29:48 2018	(r482099)
+++ head/ports-mgmt/portlint/Makefile	Sun Oct 14 17:50:32 2018	(r482100)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	portlint
-PORTVERSION=	2.18.5
+PORTVERSION=	2.18.6
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	# none
 DISTFILES=	# none

Modified: head/ports-mgmt/portlint/src/portlint.pl
==============================================================================
--- head/ports-mgmt/portlint/src/portlint.pl	Sun Oct 14 17:29:48 2018	(r482099)
+++ head/ports-mgmt/portlint/src/portlint.pl	Sun Oct 14 17:50:32 2018	(r482100)
@@ -15,7 +15,7 @@
 # was removed.
 #
 # $FreeBSD$
-# $MCom: portlint/portlint.pl,v 1.480 2018/10/13 15:34:05 jclarke Exp $
+# $MCom: portlint/portlint.pl,v 1.482 2018/10/14 17:47:55 jclarke Exp $
 #
 
 use strict;
@@ -50,7 +50,7 @@ $portdir = '.';
 # version variables
 my $major = 2;
 my $minor = 18;
-my $micro = 5;
+my $micro = 6;
 
 # default setting - for FreeBSD
 my $portsdir = '/usr/ports';
@@ -1501,7 +1501,7 @@ sub checkmakefile {
 	#
 	print "OK: checking PLIST_FILES and PLIST_DIRS.\n" if ($verbose);
 	my $python_plist = 0;
-	if ($makevar{USE_PYTHON} =~ /\bautoplist\b/) {
+	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 ".


More information about the svn-ports-all mailing list