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

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks a lot! works just great!

Scot Hetzel wrote:
> 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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




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