summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-04-27 16:00:21 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-04-27 16:01:27 +0200
commit723c119ba9d5e2849982371d691a84b8f3ce4cc8 (patch)
treeee404c52933a963e1d23c8c44a941b03527ee76d /eclass/apache-2.eclass
parentapache-2.eclass: reflect MPM dependencies on thread useflag in REQUIRED_USE (diff)
downloadgentoo-723c119ba9d5e2849982371d691a84b8f3ce4cc8.tar.gz
gentoo-723c119ba9d5e2849982371d691a84b8f3ce4cc8.tar.bz2
gentoo-723c119ba9d5e2849982371d691a84b8f3ce4cc8.zip
apache-2.eclass: Minor adjustments.
Diffstat (limited to 'eclass/apache-2.eclass')
-rw-r--r--eclass/apache-2.eclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
index 6f58331755cd..0409c4db17d7 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -104,23 +104,23 @@ _apache2_set_mpms() {
for mpm in ${IUSE_MPMS} ; do
IUSE="${IUSE} apache2_mpms_${mpm}"
- REQUIRED_USE="${REQUIRED_USE} apache2_mpms_${mpm}? ("
+ REQUIRED_USE+=" apache2_mpms_${mpm}? ("
for ompm in ${IUSE_MPMS} ; do
if [[ "${mpm}" != "${ompm}" ]] ; then
- REQUIRED_USE="${REQUIRED_USE} !apache2_mpms_${ompm}"
+ REQUIRED_USE+=" !apache2_mpms_${ompm}"
fi
done
if has ${mpm} ${IUSE_MPMS_FORK} ; then
- REQUIRED_USE="${REQUIRED_USE} !threads"
+ REQUIRED_USE+=" !threads"
else
- REQUIRED_USE="${REQUIRED_USE} threads"
+ REQUIRED_USE+=" threads"
fi
- REQUIRED_USE="${REQUIRED_USE} )"
+ REQUIRED_USE+=" )"
done
if [[ "${PV}" != 2.2* ]] ; then
- REQUIRED_USE="${REQUIRED_USE} apache2_mpms_prefork? ( !apache2_modules_http2 )"
+ REQUIRED_USE+=" apache2_mpms_prefork? ( !apache2_modules_http2 )"
fi
}
_apache2_set_mpms
@@ -155,7 +155,7 @@ _apache2_set_module_depends() {
local dep
for dep in ${MODULE_DEPENDS} ; do
- REQUIRED_USE="${REQUIRED_USE} apache2_modules_${dep%:*}? ( apache2_modules_${dep#*:} )"
+ REQUIRED_USE+=" apache2_modules_${dep%:*}? ( apache2_modules_${dep#*:} )"
done
}
_apache2_set_module_depends