ports apache22 stupid quitestion.

2007-04-23 Thread Anton - Valqk
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).

thanks very much!

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

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports apache22 stupid quitestion.

2007-04-23 Thread Brian A. Seklecki
You might set it in make.conf(5), but apache22 doesn't seem to
use /var/db/ports/apache22/options.

In either case, regardless, you'd still be replicating a file across all
of the systems that you wish to remain homogeneous. 

~BAS

On Mon, 2007-04-23 at 18:33 +0300, Anton - Valqk wrote:
 because I build it with_mpm=worker and when I do
-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.




IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports apache22 stupid quitestion.

2007-04-23 Thread Scot Hetzel

On 4/23/07, Anton - Valqk [EMAIL PROTECTED] 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.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports apache22 stupid quitestion.

2007-04-23 Thread valqk

Thanks a lot! works just great!

Scot Hetzel wrote:

On 4/23/07, Anton - Valqk [EMAIL PROTECTED] 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.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]