Subject: Re: s/foo/foo/ in PKGNAME vs pkglint
To: Johnny C. Lam <lamj@stat.cmu.edu>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-pkg
Date: 01/19/2001 02:17:46
On Thu, 18 Jan 2001, Johnny C. Lam wrote:
> > I've been working on pdmenu package. Its DISTNAME= pdmenu_1.2.65,
> > but we use 'prog-version' scheme. So I tried to set
> > PKGNAME= ${DISTNAME:S/_/-/}, but pkglint complains:
> 
> Just do it the other way around...derive DISTNAME from PKGNAME.  I
> think I saw a few commits by hubertf@netbsd.org to pkgsrc recently in
> regards to this.

Indeed... but all I remember this was *not* to please pkglint but rather
one of our other scripts, probably the ones that parse the Makefiles for
creation of the RSS files (what else whold I do? X-)


 - Hubert

-- 
Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>