www/apache22 WITH_${category}_MODULES alternative?

Olli Hauer ohauer at FreeBSD.org
Sat Sep 8 22:03:09 UTC 2012


On 2012-09-08 23:40, Benjamin Lee wrote:
> Hello,
> 
> Following the OPTIONS rewrite for www/apache22, the old
> WITH_${category}_MODULES syntax no longer works.  Here's what I had in
> /etc/make.conf:
> 
> APACHE_PORT=www/apache22
> WITH_APACHE=yes
> .if ${.CURDIR:M*/www/apache22}
> WITHOUT_APACHE_OPTIONS=yes
> WITH_SSL_MODULES=yes
> WITH_LDAP_MODULES=yes
> WITH_PROXY_MODULES=yes
> .endif
> 
> Is there a new way to enable, for example, all proxy modules, without
> enumerating each proxy module manually?
> 

To make it short no!

Usage of WITH_MODULES was in conflict with the options NG framework
so the only way was to remove this support.

Just define in your make.conf

apr_SET=LDAP
apache22_SET=SSL LDAP PROXY PROXY_AJP PROXY_BALANCER PROXY_CONNECT PROXY_FTP PROXY_HTTP PROXY_SCGI

Please note with options NG the make.conf settings
have lower priority then the OPTIONSFILE.

--
Regards,
olli


More information about the freebsd-ports mailing list