Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2013 21:31:04 +1100 (EST)
From:      Kubilay Kocak <koobs.freebsd@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/183330: [PATCH] ports-mgmt/portlint: Fix typo causing Undefined subroutine error
Message-ID:  <20131026103104.45FBC39E13@9-STABLE-amd64.elysium>
Resent-Message-ID: <201310261040.r9QAe3E0013938@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183330
>Category:       ports
>Synopsis:       [PATCH] ports-mgmt/portlint: Fix typo causing Undefined subroutine error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 26 10:40:03 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kubilay Kocak
>Release:        FreeBSD 9.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD 9-STABLE-amd64.elysium 9.2-STABLE FreeBSD 9.2-STABLE #1 r256754: Sat Oct 19 10:16:00 EST
>Description:
Fix a typo introduced in:

http://svnweb.freebsd.org/ports?view=revision&revision=330953

causing:

===> Validating port with portlint
Undefined subroutine &main::get_makvar called at /usr/local/bin/portlint line 1118.
Error validating port

Port maintainer (marcus@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- portlint-2.14.6_1.patch begins here ---
diff -ruN /usr/ports/ports-mgmt/portlint/Makefile ./Makefile
--- /usr/ports/ports-mgmt/portlint/Makefile	2013-10-21 02:01:13.000000000 +1100
+++ ./Makefile	2013-10-26 21:27:01.307759182 +1100
@@ -1,8 +1,9 @@
 # Created by: Jun-ichiro itojun Hagino <itojun@itojun.org>
-# $FreeBSD: ports-mgmt/portlint/Makefile 331023 2013-10-20 15:01:13Z marcus $
+# $FreeBSD: head/ports-mgmt/portlint/Makefile 331023 2013-10-20 15:01:13Z marcus $
 
 PORTNAME=	portlint
 PORTVERSION=	2.14.6
+PORTREVISION=	1
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	# none
 DISTFILES=	# none
diff -ruN /usr/ports/ports-mgmt/portlint/src/portlint.1 ./src/portlint.1
--- /usr/ports/ports-mgmt/portlint/src/portlint.1	2013-07-15 02:15:21.000000000 +1000
+++ ./src/portlint.1	2013-07-16 19:50:50.707019457 +1000
@@ -1,4 +1,4 @@
-.\" $FreeBSD: ports-mgmt/portlint/src/portlint.1 322990 2013-07-14 16:15:21Z marcus $
+.\" $FreeBSD: head/ports-mgmt/portlint/src/portlint.1 322990 2013-07-14 16:15:21Z marcus $
 .\"  $MCom: portlint/portlint.1,v 1.13 2013/07/07 22:34:01 marcus Exp $
 .\"
 .\" Copyright (c) 1997 by Jun-ichiro Hagino <itojun@itojun.org>.
diff -ruN /usr/ports/ports-mgmt/portlint/src/portlint.pl ./src/portlint.pl
--- /usr/ports/ports-mgmt/portlint/src/portlint.pl	2013-10-20 11:53:04.000000000 +1100
+++ ./src/portlint.pl	2013-10-26 21:26:44.598530386 +1100
@@ -16,7 +16,7 @@
 # This code now mainly supports FreeBSD, but patches to update support for
 # OpenBSD and NetBSD will be accepted.
 #
-# $FreeBSD: ports-mgmt/portlint/src/portlint.pl 330953 2013-10-20 00:53:04Z marcus $
+# $FreeBSD: head/ports-mgmt/portlint/src/portlint.pl 330953 2013-10-20 00:53:04Z marcus $
 # $MCom: portlint/portlint.pl,v 1.293 2013/10/20 00:49:57 marcus Exp $
 #
 
@@ -1115,7 +1115,7 @@
 				last;
 			}
 			if ($k =~ /^\$\{(\w+)\}$/) {
-				$k = get_makvar($1);
+				$k = get_makevar($1);
 			}
 			my @l = split(':', $k);
 
--- portlint-2.14.6_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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