From b03d49620824d4a72d63d845fb9e3da67ac468ae Mon Sep 17 00:00:00 2001 From: obache Date: Sun, 1 Jun 2014 13:12:38 +0000 Subject: Tell LUA_PKGSRCDIR and change PHPPKGSRCDIR to current PHP default. --- pkgtools/pkglint/files/pkglint.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 64ab88fec9e..ec027ef77a4 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.867 2014/05/31 15:56:59 wiz Exp $ +# $NetBSD: pkglint.pl,v 1.868 2014/06/01 13:12:38 obache Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -1475,7 +1475,8 @@ sub resolve_relative_path($$) { $relpath =~ s,\$\{PKGSRCDIR\},$cur_pkgsrcdir,; $relpath =~ s,\$\{\.CURDIR\},.,; $relpath =~ s,\$\{\.PARSEDIR\},.,; - $relpath =~ s,\$\{PHPPKGSRCDIR\},../../lang/php53,; + $relpath =~ s,\$\{LUA_PKGSRCDIR\},../../lang/lua52,; + $relpath =~ s,\$\{PHPPKGSRCDIR\},../../lang/php54,; $relpath =~ s,\$\{SUSE_DIR_PREFIX\},suse100,; $relpath =~ s,\$\{PYPKGSRCDIR\},../../lang/python27,; $relpath =~ s,\$\{FILESDIR\},$filesdir, if defined($filesdir); -- cgit v1.2.3