Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2007 10:59:36 -0500
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Anton - Valqk" <lists@lozenetz.org>
Cc:        ports@freebsd.org
Subject:   Re: ports & apache22 stupid quitestion.
Message-ID:  <790a9fff0704230859w4bd80e51u473ca63a23f92a11@mail.gmail.com>
In-Reply-To: <462CD1C5.3040107@lozenetz.org>
References:  <462CD1C5.3040107@lozenetz.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/23/07, Anton - Valqk <lists@lozenetz.org> wrote:
> Sorry for my stupid question,
> but after googling I wan't able to find it.
>
>
> How can I set default build options for www/apache22 ports,
> because I build it with_mpm=worker and when I do
> make package-recursive on php or some other dependent port it builds
> default prefok, not worker apache
> and it breaks all my packages. (I know I can pass with_mpm=worker on
> make package-recursive but I often forget).
>
Install ports-mgmt/portconf, and then add WITH_MPM=worker to
PREFIX/etc/ports.conf.

# cat PREFIX/etc/ports.conf
www/apache22: WITH_MPM=worker | WITH_LDAP | WITH_THREADS

Portsconf allows you to set defaults for ports that can be used by any
of the ports management tools (portmaster, portupgrade, .., cd
/usr/ports/<to/install> ; make install)

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.



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