Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2005 11:01:07 -0800
From:      "Michael C. Shultz" <reso3w83@verizon.net>
To:        freebsd-ports@freebsd.org
Cc:        Max Baker <maxbaker@users.sourceforge.net>
Subject:   Re: Passing make flags to a dependency
Message-ID:  <200502061101.08747.reso3w83@verizon.net>
In-Reply-To: <20050206181326.GB1966@warped.org>
References:  <20050206181326.GB1966@warped.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 06 February 2005 10:13 am, Max Baker wrote:
> Hi, I'm a noob to making a port, and am creating a port for my
> project netdisco, which has a truck-load of dependencies.
>
>
> One of those dependencies is apache2 with SSL turned on.  I need to
> know how to pass the "WITH_SSL_MODULES=yes" flag to the apache2 port?
>
> Thanks folks!
> -m
>
> Here's my makefile so far (still has a ways to go):
>
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.

If you are using autotools (automake/autoconf) you can place this sort 
of a test in configure.ac.

-Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502061101.08747.reso3w83>