How to tell what $var assigned PORTVERSION equals.

Dan Nelson dnelson at allantgroup.com
Mon Feb 2 20:35:27 PST 2009


In the last episode (Feb 03), Adam Vande More said:
> How does one find out the PORTVERSION of a port when it's in a format 
> like such:
> 
> PORTVERSION=    ${KDE4_VERSION}
> 
> All the docs/examples I can find easily show PORTVERSION assigned a 
> number, not variable.

Running "make -V PORTVERSION" asks make to print what the variable is
without actually building the port itself.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list