pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint Before using any variables in .if con...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/843a590e5606
branches:  trunk
changeset: 527922:843a590e5606
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Apr 15 23:02:04 2007 +0000

description:
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:

 pkgtools/pkglint/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d4bd32deb1d5 -r 843a590e5606 pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Sun Apr 15 22:58:49 2007 +0000
+++ b/pkgtools/pkglint/Makefile Sun Apr 15 23:02:04 2007 +0000
@@ -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 @@
 
 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\|@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:



Home | Main Index | Thread Index | Old Index