ports & apache22 stupid quitestion.

Scot Hetzel swhetzel at gmail.com
Mon Apr 23 15:59:38 UTC 2007


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
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.


More information about the freebsd-ports mailing list