summaryrefslogtreecommitdiff
path: root/pkgtools/lintpkgsrc/files
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2022-08-19 05:06:26 +0000
committerrillig <rillig@pkgsrc.org>2022-08-19 05:06:26 +0000
commit19135059824ffa24f0c49c33ca09a55c89142e6f (patch)
treeb1577ec987762e886901b1f3557a7297900f0ea7 /pkgtools/lintpkgsrc/files
parent604b1c81c6d1b31c26ce78ac8aa1cab9fc37ee60 (diff)
downloadpkgsrc-19135059824ffa24f0c49c33ca09a55c89142e6f.tar.gz
lintpkgsrc: fix parse-guessing of Apache modules
When lintpkgsrc parses the package makefile of an Apache module, it includes mk/apache.mk, and that file defines APACHE_PKG_PREFIX, thereby hiding the fallback value from $default_vars.
Diffstat (limited to 'pkgtools/lintpkgsrc/files')
-rwxr-xr-xpkgtools/lintpkgsrc/files/lintpkgsrc.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl
index e66d975e75b..75c9c926245 100755
--- a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl
+++ b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl
@@ -1,5 +1,5 @@
#!@PERL5@
-# $NetBSD: lintpkgsrc.pl,v 1.125 2022/08/19 04:34:03 rillig Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.126 2022/08/19 05:06:26 rillig Exp $
# Written by David Brownlee <abs@netbsd.org>.
#
@@ -763,7 +763,8 @@ sub get_default_makefile_vars() {
$default_vars->{PACKAGES} ||= $default_vars->{PKGSRCDIR} . '/packages';
- $default_vars->{APACHE_PKG_PREFIX} = 'ap12345';
+ $default_vars->{PKG_APACHE} = 'apache12345';
+ $default_vars->{'_APACHE_PKG_PREFIX.apache12345'} = 'ap12345';
$default_vars->{LUA_PKGPREFIX} = 'lua12345';
$default_vars->{PHP_PKG_PREFIX} = 'php12345';
$default_vars->{PYPKGPREFIX} = 'py12345';