pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Determining the tool names auto...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ad00925ad81
branches:  trunk
changeset: 511825:6ad00925ad81
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Apr 23 08:59:55 2006 +0000

description:
Determining the tool names automatically does not work without cheating,
as not all necessary files are included by bsd.tools.mk. Instead,
defaults.mk is included by bsd.prefs.mk.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 43d4885c6218 -r 6ad00925ad81 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sun Apr 23 03:04:29 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sun Apr 23 08:59:55 2006 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.pl,v 1.562 2006/04/22 11:22:40 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.563 2006/04/23 08:59:55 rillig Exp $
 #
 
 # pkglint - static analyzer and checker for pkgsrc packages
@@ -1700,7 +1700,7 @@
        # Get the list of files that define the tools from bsd.tools.mk.
        #
 
-       @tool_files = ();
+       @tool_files = ("defaults.mk");
        {
                my $fname = "${current_dir}/${pkgsrcdir}/mk/tools/bsd.tools.mk";
                my $lines = load_lines($fname, true);



Home | Main Index | Thread Index | Old Index