pkgsrc/pkgtools/lintpkgsrc
rillig c95b00ad0b lintpkgsrc: fix bogus warning for devel/lua-moses
The warning was:

	Bogus: -${DISTNAME:tl:S/-1$//1}
	    (from /.../devel/lua-moses/Makefile)

Previously, lintpkgsrc searched for the package name and version by
looking for '-' followed by a digit.  This was too naive, as in the
above expression, the '-1' does not mark the beginning of the version
number.  Fix this by resorting to 'make show-vars' in all cases in which
the PKGNAME still contains a '$'.

When running 'lintpkgsrc -Dp devel/lua-moses' with a relative directory
as argument, lintpkgsrc tried 'cd /lua-moses' and ignored the failure,
running 'make show-vars' in the current directory instead, which in my
case was the top-level pkgsrc directory.

Bump version.
2022-01-01 13:27:37 +00:00
..
files lintpkgsrc: fix bogus warning for devel/lua-moses 2022-01-01 13:27:37 +00:00
DESCR
Makefile lintpkgsrc: fix bogus warning for devel/lua-moses 2022-01-01 13:27:37 +00:00
PLIST