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:
geos_one 2008-03-28 19:41:51 +00:00
parent 37e6e7a93a
commit b7c541a89a

View File

@ -226,7 +226,8 @@ setup_modules() {
eerror "\"etc/portage/package.use\" ;p"
die "ldap and mozldap USE conflict"
fi
if use ldap || use mozldap ; then
if use ldap ; then
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_MODS="${MY_MODS} ldap authnz_ldap"
@ -234,6 +235,14 @@ setup_modules() {
MY_CONF="${MY_CONF} --disable-authnz_ldap --disable-ldap"
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
MY_CONF="${MY_CONF} --with-ssl=/usr --enable-ssl=${mod_type}"
MY_MODS="${MY_MODS} ssl"