Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 427946 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/eclass/apache-2.eclass (-1 / +13 lines)
Lines 69-76 Link Here
69
IUSE_MPMS="${IUSE_MPMS_FORK} ${IUSE_MPMS_THREAD}"
69
IUSE_MPMS="${IUSE_MPMS_FORK} ${IUSE_MPMS_THREAD}"
70
IUSE="${IUSE} debug doc ldap selinux ssl static suexec threads"
70
IUSE="${IUSE} debug doc ldap selinux ssl static suexec threads"
71
71
72
# @ECLASS-VARIABLE: MODULE_DEFAULTS
73
# @DESCRIPTION:
74
# This variable can be set in the ebuild and contains a space-separated
75
# list of modules to be expanded to default flags according to IUSE-defaults.
76
# Example:
77
# IUSE_MODULES="foo" with MODULE_DEFAULTS="" => IUSE="apache2_modules_foo"
78
# IUSE_MODULES="foo" with MODULE_DEFAULTS="foo" => IUSE="+apache2_modules_foo"
79
72
for module in ${IUSE_MODULES} ; do
80
for module in ${IUSE_MODULES} ; do
73
	IUSE="${IUSE} apache2_modules_${module}"
81
	if has ${module} ${MODULE_DEFAULTS} ; then
82
		IUSE="${IUSE} +apache2_modules_${module}"
83
	else
84
		IUSE="${IUSE} apache2_modules_${module}"
85
	fi
74
done
86
done
75
87
76
for mpm in ${IUSE_MPMS} ; do
88
for mpm in ${IUSE_MPMS} ; do

Return to bug 427946