Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2018 17:50:32 +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: r482100 - in head/ports-mgmt/portlint: . src
Message-ID:  <201810141750.w9EHoWkM052852@repo.freebsd.org>

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



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