pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint fix handling of DISTDIR. patch from S...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1c5dcfd962e
branches:  trunk
changeset: 462618:d1c5dcfd962e
user:      grant <grant%pkgsrc.org@localhost>
date:      Mon Oct 06 08:50:40 2003 +0000

description:
fix handling of DISTDIR. patch from Sebastian Prause on tech-pkg.

bump to 3.64.

diffstat:

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

diffs (34 lines):

diff -r b89fbfc296c9 -r d1c5dcfd962e pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Mon Oct 06 08:19:45 2003 +0000
+++ b/pkgtools/pkglint/Makefile Mon Oct 06 08:50:40 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.170 2003/10/01 11:56:17 abs Exp $
+# $NetBSD: Makefile,v 1.171 2003/10/06 08:50:40 grant Exp $
 #
 
-DISTNAME=      pkglint-3.63
+DISTNAME=      pkglint-3.64
 WRKSRC=                ${WRKDIR}
 CATEGORIES=    pkgtools devel
 MASTER_SITES=  # empty
diff -r b89fbfc296c9 -r d1c5dcfd962e pkgtools/pkglint/files/lintpkgsrc.pl
--- a/pkgtools/pkglint/files/lintpkgsrc.pl      Mon Oct 06 08:19:45 2003 +0000
+++ b/pkgtools/pkglint/files/lintpkgsrc.pl      Mon Oct 06 08:50:40 2003 +0000
@@ -1,6 +1,6 @@
 #!@PREFIX@/bin/perl
 
-# $NetBSD: lintpkgsrc.pl,v 1.84 2003/10/01 11:56:17 abs Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.85 2003/10/06 08:50:40 grant Exp $
 
 # Written by David Brownlee <abs%netbsd.org@localhost>.
 #
@@ -441,7 +441,8 @@
 
     if ($opt{M})
        { $default_vars->{DISTDIR} = $opt{M}; }
-    $default_vars->{DISTDIR} ||= $default_vars->{PKGSRCDIR}.'/distfiles';
+    else
+       { $default_vars->{DISTDIR} ||= $default_vars->{PKGSRCDIR}.'/distfiles'; }
 
     if ($opt{K})
        { $default_vars->{PACKAGES} = $opt{K}; }



Home | Main Index | Thread Index | Old Index