Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Sep 2012 00:03:10 +0200
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        freebsd-ports <freebsd-ports@freebsd.org>
Cc:        Benjamin Lee <ben@b1c1l1.com>
Subject:   Re: www/apache22 WITH_${category}_MODULES alternative?
Message-ID:  <504BC09E.4020302@FreeBSD.org>
In-Reply-To: <504BBB5D.70509@b1c1l1.com>
References:  <504BBB5D.70509@b1c1l1.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?504BC09E.4020302>