Subject: s/foo/foo/ in PKGNAME vs pkglint
To: None <tech-pkg@netbsd.org>
From: Tomasz Luchowski <zuntum@eik.pl>
List: tech-pkg
Date: 01/18/2001 19:44:56
Hey,

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:

FATAL: PKGNAME must come with version number, like "foobaa-1.0".
FATAL: you seem to using underline before version number in PKGNAME. it has to be hyphen.

Anyway the pkg works, and is registered as pdmenu-1.2.65 (with the hyphen).
Maybe we should tell pkglint that above trick is permitted?

-- 
/* [zuntum] zuntum@eik.pl , [WWW] http://zuntum.eik.pl */