diff --git a/www/apache2/Makefile.modules.3rd b/www/apache2/Makefile.modules.3rd index 46f26cc49de5..6d2768b22d02 100644 --- a/www/apache2/Makefile.modules.3rd +++ b/www/apache2/Makefile.modules.3rd @@ -153,7 +153,7 @@ CONFIGURE_ARGS+= --disable-module="all" _APACHE_MODULES+= ${WITH_MODULES} .else .for category in ${ALL_MODULES_CATEGORIES} -.if defined (WITHOUT_${category}) || defined (WITH_CUSTOM_${category}) +.if defined (WITHOUT_${category}_MODULES) || defined (WITH_CUSTOM_${category}) . if defined(WITH_${category}_MODULES}) . undef WITH_${category}_MODULES . endif diff --git a/www/apache20/Makefile.modules.3rd b/www/apache20/Makefile.modules.3rd index 46f26cc49de5..6d2768b22d02 100644 --- a/www/apache20/Makefile.modules.3rd +++ b/www/apache20/Makefile.modules.3rd @@ -153,7 +153,7 @@ CONFIGURE_ARGS+= --disable-module="all" _APACHE_MODULES+= ${WITH_MODULES} .else .for category in ${ALL_MODULES_CATEGORIES} -.if defined (WITHOUT_${category}) || defined (WITH_CUSTOM_${category}) +.if defined (WITHOUT_${category}_MODULES) || defined (WITH_CUSTOM_${category}) . if defined(WITH_${category}_MODULES}) . undef WITH_${category}_MODULES . endif