From 89f2999e74ba55912678b1b53dd4d72b1e8342fe Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 10 Jan 2004 22:31:51 +0000 Subject: Fix for pkgviews. From Min Sik Kim in PR 24042. --- pkgtools/pkglint/Makefile | 3 ++- pkgtools/pkglint/files/lintpkgsrc.pl | 4 ++-- pkgtools/pkglint/files/pkglint.pl | 4 ++-- pkgtools/pkglint/files/plist-clash.pl | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 32470872c72..317540dcaeb 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.174 2004/01/05 11:32:40 jlam Exp $ +# $NetBSD: Makefile,v 1.175 2004/01/10 22:31:51 wiz Exp $ # DISTNAME= pkglint-3.66 @@ -49,6 +49,7 @@ do-build: -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 diff --git a/pkgtools/pkglint/files/lintpkgsrc.pl b/pkgtools/pkglint/files/lintpkgsrc.pl index d84f3cf1b59..d6b006e1409 100755 --- a/pkgtools/pkglint/files/lintpkgsrc.pl +++ b/pkgtools/pkglint/files/lintpkgsrc.pl @@ -1,6 +1,6 @@ -#!@PREFIX@/bin/perl +#!@PERL@ -# $NetBSD: lintpkgsrc.pl,v 1.86 2003/10/11 08:03:40 wiz Exp $ +# $NetBSD: lintpkgsrc.pl,v 1.87 2004/01/10 22:31:51 wiz Exp $ # Written by David Brownlee . # diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index bd882986384..0939283a30f 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,4 +1,4 @@ -#!@PREFIX@/bin/perl +#!@PERL@ # # pkglint - lint for package directory # @@ -11,7 +11,7 @@ # Freely redistributable. Absolutely no warranty. # # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp -# $NetBSD: pkglint.pl,v 1.93 2003/12/24 09:54:39 jmmv Exp $ +# $NetBSD: pkglint.pl,v 1.94 2004/01/10 22:31:51 wiz Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by Hubert Feyrer , diff --git a/pkgtools/pkglint/files/plist-clash.pl b/pkgtools/pkglint/files/plist-clash.pl index 976870e2ae4..6b7490d3bcd 100644 --- a/pkgtools/pkglint/files/plist-clash.pl +++ b/pkgtools/pkglint/files/plist-clash.pl @@ -1,6 +1,6 @@ -#!@PREFIX@/bin/perl +#!@PERL@ # -# $NetBSD: plist-clash.pl,v 1.1 1998/08/07 22:13:44 tsarna Exp $ +# $NetBSD: plist-clash.pl,v 1.2 2004/01/10 22:31:51 wiz Exp $ # # Scan all ports and look for filenames used by more than one port. # -- cgit v1.2.3