Passing make flags to a dependency

Max Baker maxbaker at users.sourceforge.net
Sun Feb 6 12:05:23 PST 2005


Thanks Mike,

On Sun, Feb 06, 2005 at 11:01:07AM -0800, Michael C. Shultz wrote:
> This is going to be a can of worms for you to automate, here are a few 
> reasons why:
> 
> What if apache2 is all ready installed without SSL turned on?
> What if the user wants other features besides SSL?
> 
> Suggestion:  Test for a library that will only exist if apache2 has
> been installed with WITH_SSL_MODULES=yes and if that library is missing
> then have your port refuse to build with a message that apache2 must be 
> built with WITH_SSL_MODULES=yes.

This is a good point.  I could change the scope of this dependency to be
"SSL would be a good idea".   Going on that, is there a way that I could
specify that SSL be turned on if apache2 does get built by my port, else
give a warning that it's a Good Idea and/or bug out? 

-m


More information about the freebsd-ports mailing list