Browse Source

openldap: don't force debugging if SDECFG_DEBUG=0

user/chris/next/0.4
Gernot Tenchio 12 years ago committed by Christian Wiese
parent
commit
47b5cf468e
  1. 6
      network/openldap/openldap.conf

6
network/openldap/openldap.conf

@ -45,7 +45,11 @@ hook_add premake 3 'eval $MAKE depend'
pkgprefix -t bdb
var_append CPP_WRAPPER_APPEND ' ' "-I$( pkgprefix includedir bdb )"
var_append GCC_WRAPPER_APPEND ' ' "-DLDAP_DEBUG"
if [ "$SDECFG_DEBUG" = 1 ]; then
var_append extraconfopt ' ' '--enable-debug=yes'
else
var_append extraconfopt ' ' '--enable-debug=no'
fi
# work around - needs to be fixed, treading support hangs ... -ReneR
[ $arch = powerpc ] && var_append extraconfopt ' ' '--disable-bdb'

Loading…
Cancel
Save