Fix nginx http_geoip configure option.

There is no --without-http_geoip_module for the configure script, so we
use vopt_if instead of vopt_with.
This commit is contained in:
William E. Skeith 2019-01-02 00:27:39 -05:00 committed by maxice8
parent cb91ca4ed0
commit d51f0ddbf7

View file

@ -68,7 +68,7 @@ do_configure() {
--with-http_realip_module \
--with-http_ssl_module \
--with-http_stub_status_module \
$(vopt_with geoip http_geoip_module)
$(vopt_if geoip --with-http_geoip_module)
if [ "$CROSS_BUILD" ]; then
case "$XBPS_TARGET_MACHINE" in