finding where a make variable is set

Robert Huff roberthuff at rcn.com
Fri May 29 16:38:54 UTC 2009


Wesley Shields writes:

>  > 	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.

	In this case, "Mk/bsd.commands.mk".
	Thanks.


				Robert Huff




More information about the freebsd-ports mailing list