Passing Options to Dependancies During make

Brian Kee brianakee at
Thu Sep 8 18:36:01 PDT 2005

How would one go about passing OPTIONS to a dependancy during a port make. 
For example, 
 PORTA depends upon PORTB, but to build PORTB correctly so that is has some 
functionality required to operate correctly with PORTA you have to set some 
option (WITH_XXX) during the build process of PORTB. How can one configure 
the PORTA Makefile to tell the PORTB Makfile to use a specific option?
 Is this possible?
 If we set WITH_XXX=yes during the make of PORTA, will this be passed down 
to the build process of PORTB? 
(e.g. cd /usr/ports/PORTA; make WITH_XXX=yes)
 Thank You, 
 Brian A. Kee

More information about the freebsd-ports mailing list