Subject: setting make variables from another package
To: None <tech-pkg@netbsd.org>
From: Brook Milligan <brook@biology.nmsu.edu>
List: tech-pkg
Date: 08/03/2006 13:08:59
I am building a package that needs the value of a make variable from
another package.  I am trying to do this with the following in my
package Makefile:

XXX!=   cd ../../category/package && ${MAKE} show-var VARNAME=XXX

However, I am getting a variety of errors that seem to be related to
the wrappers and buildlink handling.

Is there an established way to accomplish this?

Thanks for your help.

Cheers,
Brook