summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-04-15 23:02:04 +0000
committerrillig <rillig@pkgsrc.org>2007-04-15 23:02:04 +0000
commit6c9e6ae8eca54c8ae662cb6d1dd88b4dcf759890 (patch)
treefb53f26aee87344d70600b8e4b8d57da18938bb0 /pkgtools
parent77b2375207175a710dceb0753c1bbac5aae6d50f (diff)
downloadpkgsrc-6c9e6ae8eca54c8ae662cb6d1dd88b4dcf759890.tar.gz
Before using any variables in .if conditionaly, bsd.prefs.mk should be
included. In the special case of the BATCH variable, this does not make a difference, since it is set via an environment variable.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index 28242c8ae74..caea8def966 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.359 2007/03/09 03:02:35 rillig Exp $
+# $NetBSD: Makefile,v 1.360 2007/04/15 23:02:04 rillig Exp $
#
DISTNAME= pkglint-4.76
@@ -27,6 +27,8 @@ USE_LANGUAGES= # none
INSTALLATION_DIRS_FROM_PLIST= yes
+.include "../../mk/bsd.prefs.mk"
+
SUBST_CLASSES+= pkglint
SUBST_STAGE.pkglint= post-configure
SUBST_FILES.pkglint+= lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl
@@ -43,8 +45,6 @@ SUBST_SED.pkglint+= -e s\|@MAKE@\|${MAKE:Q}\|g
SUBST_SED.pkglint+= -e s\|@PERL@\|${PERL5:Q}\|g
SUBST_SED.pkglint+= -e s\|@DATADIR@\|${PREFIX}/share/pkglint\|g
-.include "../../mk/bsd.prefs.mk"
-
# Note: This target is only intended for use by the pkglint author.
.PHONY: quick-install
quick-install: