Subject: Re: s/foo/foo/ in PKGNAME vs pkglint
To: Tomasz Luchowski <>
From: Johnny C. Lam <>
List: tech-pkg
Date: 01/18/2001 14:10:41
Tomasz Luchowski <> 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 to pkgsrc recently in
regards to this.

     -- Johnny C. Lam <>
        Department of Statistics, Carnegie Mellon University