Subject: Re: CVS commit: pkgsrc/pkgtools/pkglint
To: None <salo@Xtrmntr.org>
From: Takahiro Kambe <taca@back-street.net>
List: tech-pkg
Date: 05/13/2004 18:34:46
In message <20040513092705.GG2607@Xtrmntr.org>
	on Thu, 13 May 2004 11:27:05 +0200,
	Lubomir Sedlacik <salo@Xtrmntr.org> wrote:
> On Thu, May 13, 2004 at 06:19:07PM +0900, Takahiro Kambe wrote:
> > In message <20040510085305.D83782DA1D@cvs.netbsd.org>
> > 	on Mon, 10 May 2004 08:53:05 +0000 (UTC),
> > 	Lubomir Sedlacik <salo@netbsd.org> wrote:
> > > 
> > > Module Name:	pkgsrc
> > > Committed By:	salo
> > > Date:		Mon May 10 08:53:05 UTC 2004
> > > 
> > > Modified Files:
> > > 	pkgsrc/pkgtools/pkglint: Makefile
> > > 	pkgsrc/pkgtools/pkglint/files: pkglint.pl
> > > 
> > > Log Message:
> > > Welcome to 3.75.
> > > Use real value of PKGNAME, suppress bogus warnings when PKGNAME is created
> > > from altering DISTNAME with make modifiers (e.g., S or C).
> >
> > Why use real value of DISNAME, too?
> 
> sorry, ENOPARSE :(
Oh, I'm sorry.  ;-(

Why don't you use the real value for DISNAME, too?
For example www/apache/Makefile,

DISTNAME=		apache_${APACHE_VERSION}
PKGNAME=		apache-${APACHE_VERSION}

PKGNAME isn't complained but DISNAME still is complained.

Best regards.

-- 
Takahiro Kambe <taca@back-street.net>