summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2007-04-15 23:02:04 +0000
committerrillig <rillig>2007-04-15 23:02:04 +0000
commit1de86d46d9c681d698c513c9d7f4783bc081cd22 (patch)
treefb53f26aee87344d70600b8e4b8d57da18938bb0 /pkgtools
parentf110ddb065c25fb7d1aaf1b3087975881b913b8e (diff)
downloadpkgsrc-1de86d46d9c681d698c513c9d7f4783bc081cd22.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: