finding where a make variable is set
Chuck Robey
chuckr at telenix.org
Fri May 29 21:14:26 UTC 2009
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?
Would it be likely that, if you grepped in the /usr/ports/Mk directory, that the
entry in bsd.commands.mk might have the entry you're interested in? Least,
that's a BSD Make template file which does this, but if that part of your build
is done via GNU Make, or CMake, something like that, I might be wrong here.
You'd have to tell me what make tool you're talking about.
>
>
> Robert Huff
>
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
More information about the freebsd-ports
mailing list