summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-09-27 13:15:17 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-09-27 13:16:54 +0200
commit9ee9937deef58e61f21052300c45f8cfcd7d335d (patch)
tree09ad1852537af847a5a6b2bfed1951ba7b8b8169 /eclass/apache-2.eclass
parentdev-libs/amdgpu-pro-opencl: automate invoking "eselect opencl" (diff)
downloadgentoo-9ee9937deef58e61f21052300c45f8cfcd7d335d.tar.gz
gentoo-9ee9937deef58e61f21052300c45f8cfcd7d335d.tar.bz2
gentoo-9ee9937deef58e61f21052300c45f8cfcd7d335d.zip
apache-2.eclass: Work around broken AC_ARG_ENABLE logic.
Bug: https://bugs.gentoo.org/667148
Diffstat (limited to 'eclass/apache-2.eclass')
-rw-r--r--eclass/apache-2.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
index b4048ae9c635..26f3d2d28913 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -293,7 +293,7 @@ setup_modules() {
if ver_test ${PV} -ge 2.4.34 ; then
MY_CONF+=( $(use_with !suexec-syslog suexec-logfile "${SUEXEC_LOGFILE:-${EPREFIX}/var/log/apache2/suexec_log}") )
MY_CONF+=( $(use_with suexec-syslog) )
- MY_CONF+=( $(usex suexec-syslog $(use_enable suexec-caps suexec-capabilities) --disable-suexec-capabilities) )
+ MY_CONF+=( $(usex suexec-syslog $(usex suexec-caps --enable-suexec-capabilities '') '') )
else
MY_CONF+=( --with-suexec-logfile="${SUEXEC_LOGFILE:-${EPREFIX}/var/log/apache2/suexec_log}" )
fi