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

bump to 3.64.
This commit is contained in:
grant 2003-10-06 08:50:40 +00:00
parent 083b97acdf
commit 105045212c
2 changed files with 5 additions and 4 deletions

View file

@ -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

View file

@ -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>.
#
@ -441,7 +441,8 @@ sub get_default_makefile_vars
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}; }