finding where a make variable is set

Wesley Shields wxs at FreeBSD.org
Fri May 29 16:27:02 UTC 2009


On Fri, May 29, 2009 at 12:04:49PM -0400, Robert Huff wrote:
> 
> 	Given:
> 
> huff@>> pd /usr/ports/editors/openoffice.org-3
> /usr/ports/editors/openoffice.org-3 /var/db/pkg 
> huff@>> make -V CP
> /bin/cp
> 
> 	how do I track down where CP gets set?  It isn't in the
> Makefile itself; is it in /usr/share/mk/*.mk?

Ports include bsd.port.(pre|post.)mk and other related files. They are
included in $PORTSDIR/Mk.

-- WXS


More information about the freebsd-ports mailing list