Subject: Re: s/foo/foo/ in PKGNAME vs pkglint
To: Tomasz Luchowski <zuntum@eik.pl>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: tech-pkg
Date: 01/18/2001 14:10:41
Tomasz Luchowski <zuntum@eik.pl> writes:
>
> 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.
-- Johnny C. Lam <lamj@stat.cmu.edu>
Department of Statistics, Carnegie Mellon University
http://www.stat.cmu.edu/~lamj/