|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../openldap/openldap.conf |
|
|
|
|
# Copyright (C) 2007 - 2011 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2007 - 2014 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
|
# |
|
|
|
@ -22,6 +22,20 @@ if [ "$prefix_auto" = 1 ]; then
|
|
|
|
|
var_append extraconfopt ' ' "--sysconfdir=${sysconfdir%/openldap}" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if atstage cross; then |
|
|
|
|
# TODO: only tested with glibc for now |
|
|
|
|
var_append extraconfopt ' ' "--with-yielding_select=yes" |
|
|
|
|
# strangely adding ac_cv_func_memcmp_working=yes to the config |
|
|
|
|
# cache file is not working so we inject it through extraconfopt |
|
|
|
|
var_append extraconfopt ' ' "ac_cv_func_memcmp_working=yes" |
|
|
|
|
|
|
|
|
|
# Makefiles are defining 'STRIP= -s' referring to the option |
|
|
|
|
# passed to the 'install' command but we pass STRIP=$triplet-strip |
|
|
|
|
# in the make options when cross-compiling |
|
|
|
|
var_remove_regex makeopt ' ' "STRIP=.*" |
|
|
|
|
var_remove_regex makeinstopt ' ' "STRIP=.*" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
pkginstalled tcp_wrappers && var_append extraconfopt ' ' '--enable-wrappers' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|