ports & apache22 stupid quitestion.

valqk lists at lozenetz.org
Mon Apr 23 20:41:31 UTC 2007


Thanks a lot! works just great!

Scot Hetzel wrote:
> On 4/23/07, Anton - Valqk <lists at 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.



More information about the freebsd-ports mailing list