On Wed, Dec 05, 2007 at 05:55:24AM -0800, J.C. Roberts wrote:
> Until `make show=VERSION` is smart enough to determine the software
> version (not the package version), there is good reason to have a
> VERSION variable. At the moment, `make show=VERSION` fails to get it
> right and gives you nothing when you run it on ports which use the
> semantics you suggested.
show=<variable> merely prints the value of the requested variable in
the Makefile. It doesn't do any magic to determine version number,
etc. For the majority of the ports in the tree, it should do
_nothing_ (since most ports don't set VERSION). If you want to
determine the package version, try show=PKGNAME; if you want the
upstream version, show=DISTNAME is probably your best bet.
See bsd.port.mk(5).
--
o--------------------------{ Will Maier }--------------------------o
| web:.......http://www.lfod.us/ | [EMAIL PROTECTED] |
*------------------[ BSD Unix: Live Free or Die ]------------------*