Correct small bug
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@363 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
37e6e7a93a
commit
b7c541a89a
@ -226,7 +226,8 @@ setup_modules() {
|
|||||||
eerror "\"etc/portage/package.use\" ;p"
|
eerror "\"etc/portage/package.use\" ;p"
|
||||||
die "ldap and mozldap USE conflict"
|
die "ldap and mozldap USE conflict"
|
||||||
fi
|
fi
|
||||||
if use ldap || use mozldap ; then
|
|
||||||
|
if use ldap ; then
|
||||||
confutils_use_depend_built_with_all ldap dev-libs/apr-util ldap
|
confutils_use_depend_built_with_all ldap dev-libs/apr-util ldap
|
||||||
MY_CONF="${MY_CONF} --enable-authnz_ldap=${mod_type} --enable-ldap=${mod_type}"
|
MY_CONF="${MY_CONF} --enable-authnz_ldap=${mod_type} --enable-ldap=${mod_type}"
|
||||||
MY_MODS="${MY_MODS} ldap authnz_ldap"
|
MY_MODS="${MY_MODS} ldap authnz_ldap"
|
||||||
@ -234,6 +235,14 @@ setup_modules() {
|
|||||||
MY_CONF="${MY_CONF} --disable-authnz_ldap --disable-ldap"
|
MY_CONF="${MY_CONF} --disable-authnz_ldap --disable-ldap"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if use mozldap ; then
|
||||||
|
confutils_use_depend_built_with_all mozldap dev-libs/apr-util mozldap
|
||||||
|
MY_CONF="${MY_CONF} --enable-authnz_ldap=${mod_type} --enable-ldap=${mod_type}"
|
||||||
|
MY_MODS="${MY_MODS} ldap authnz_ldap"
|
||||||
|
else
|
||||||
|
MY_CONF="${MY_CONF} --disable-authnz_ldap --disable-ldap"
|
||||||
|
fi
|
||||||
|
|
||||||
if use ssl ; then
|
if use ssl ; then
|
||||||
MY_CONF="${MY_CONF} --with-ssl=/usr --enable-ssl=${mod_type}"
|
MY_CONF="${MY_CONF} --with-ssl=/usr --enable-ssl=${mod_type}"
|
||||||
MY_MODS="${MY_MODS} ssl"
|
MY_MODS="${MY_MODS} ssl"
|
||||||
|
Loading…
Reference in New Issue
Block a user