NetBSD Problem Report #24042
Received: (qmail 2950 invoked by uid 605); 10 Jan 2004 22:28:45 -0000
Message-Id: <20040110222836.4547C33206@sulley.infnis.com>
Date: Sat, 10 Jan 2004 16:28:36 -0600 (CST)
From: Min Sik Kim <minskim@bawi.org>
Sender: gnats-bugs-owner@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: Incorrect path to perl binary in pkgtools/pkglint
X-Send-Pr-Version: 3.95
>Number: 24042
>Category: pkg
>Synopsis: Incorrect path to perl binary in pkgtools/pkglint
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 10 22:29:00 +0000 2004
>Closed-Date: Sat Jan 10 22:32:05 +0000 2004
>Last-Modified: Sat Jan 10 22:33:00 +0000 2004
>Originator: Min Sik Kim
>Release: NetBSD 1.6ZG
>Organization:
>Environment:
>Description:
The perl binary is not available at ${PREFIX}/bin/perl for pkgviews
packages. Use ${PERL5} instead.
>How-To-Repeat:
>Fix:
Apply the following patch and bump the version number.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkglint/Makefile,v
retrieving revision 1.174
diff -u -r1.174 Makefile
--- Makefile 2004/01/05 11:32:40 1.174
+++ Makefile 2004/01/10 19:08:59
@@ -49,6 +49,7 @@
-e 's|@PORTSDIR@|${_PKGSRCDIR}|g' \
-e 's|@DISTVER@|${DISTVER}|g' \
-e 's|@MAKE@|${MAKE}|g' \
+ -e 's|@PERL@|${PERL5}|g' \
< ${WRKSRC}/src/${FILE}.pl \
> ${WRKSRC}/${FILE}
.endfor
Index: files/lintpkgsrc.pl
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkglint/files/lintpkgsrc.pl,v
retrieving revision 1.86
diff -u -r1.86 lintpkgsrc.pl
--- files/lintpkgsrc.pl 2003/10/11 08:03:40 1.86
+++ files/lintpkgsrc.pl 2004/01/10 19:09:00
@@ -1,4 +1,4 @@
-#!@PREFIX@/bin/perl
+#!@PERL@
# $NetBSD: lintpkgsrc.pl,v 1.86 2003/10/11 08:03:40 wiz Exp $
Index: files/pkglint.pl
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkglint/files/pkglint.pl,v
retrieving revision 1.93
diff -u -r1.93 pkglint.pl
--- files/pkglint.pl 2003/12/24 09:54:39 1.93
+++ files/pkglint.pl 2004/01/10 19:09:01
@@ -1,4 +1,4 @@
-#!@PREFIX@/bin/perl
+#!@PERL@
#
# pkglint - lint for package directory
#
Index: files/plist-clash.pl
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/pkglint/files/plist-clash.pl,v
retrieving revision 1.1
diff -u -r1.1 plist-clash.pl
--- files/plist-clash.pl 1998/08/07 22:13:44 1.1
+++ files/plist-clash.pl 2004/01/10 19:09:01
@@ -1,4 +1,4 @@
-#!@PREFIX@/bin/perl
+#!@PERL@
#
# $NetBSD: plist-clash.pl,v 1.1 1998/08/07 22:13:44 tsarna Exp $
#
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz
State-Changed-When: Sat Jan 10 22:31:57 UTC 2004
State-Changed-Why:
Committed, thanks.
From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/24042 CVS commit: pkgsrc/pkgtools/pkglint
Date: Sat, 10 Jan 2004 22:31:51 +0000 (UTC)
Module Name: pkgsrc
Committed By: wiz
Date: Sat Jan 10 22:31:51 UTC 2004
Modified Files:
pkgsrc/pkgtools/pkglint: Makefile
pkgsrc/pkgtools/pkglint/files: lintpkgsrc.pl pkglint.pl plist-clash.pl
Log Message:
Fix for pkgviews. From Min Sik Kim in PR 24042.
To generate a diff of this commit:
cvs rdiff -r1.174 -r1.175 pkgsrc/pkgtools/pkglint/Makefile
cvs rdiff -r1.86 -r1.87 pkgsrc/pkgtools/pkglint/files/lintpkgsrc.pl
cvs rdiff -r1.93 -r1.94 pkgsrc/pkgtools/pkglint/files/pkglint.pl
cvs rdiff -r1.1 -r1.2 pkgsrc/pkgtools/pkglint/files/plist-clash.pl
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
Environment:
System: NetBSD sulley.infnis.com 1.6ZG NetBSD 1.6ZG (SULLEY) #1: Tue Dec 16 01:53:13 CST 2003 root@sulley.infnis.com:/usr/obj/sys/arch/i386/compile/SULLEY i386
Architecture: i386
Machine: i386
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.