Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 2004 22:41:29 +1100
From:      Gautam Gopalakrishnan <ggop@madras.dyndns.org>
To:        August Simonelli <deviledog@swiftdsl.com.au>
Cc:        FreeBSD-questions <freebsd-questions@freebsd.org>
Subject:   Re: changing configure options when using a port
Message-ID:  <20040106114129.GA2472@madras.dyndns.org>
In-Reply-To: <325C172F-403C-11D8-9654-000A95A55144@swiftdsl.com.au>
References:  <325C172F-403C-11D8-9654-000A95A55144@swiftdsl.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 06, 2004 at 10:33:49PM +1100, August Simonelli wrote:
> Hi all,
> 
> I'm slowly getting used to FreeBSD from a Linux background so forgive 
> the ignorant questions.
> 
> I'm curious what the best way to add configure options are when 
> installing from a port. For example, i'd like to add --enable-rewrite 
> to apache2. Can I just put it in the Makefile in /usr/ports/www/apache2 
> ? Is this generally the best way to do this?

If you look at the Makefile in /usr/ports/www/apache2, you would
notice a variable called WITH_MODULES. You would need to see what
modules you want and run make like:

make WITH_MODULES="include rewrite auth" install clean

or whatever you want. There are examples given in the makefile.
You could change the makefile, but it will be overwriten next time
you upgrade the ports collection.

hth
Gautam




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