diff options
-rw-r--r-- | databases/openldap/Makefile.common | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/openldap/Makefile.common b/databases/openldap/Makefile.common index 8e435410f25..7cea46f3e00 100644 --- a/databases/openldap/Makefile.common +++ b/databases/openldap/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.35 2012/10/22 09:41:07 ghen Exp $ +# $NetBSD: Makefile.common,v 1.36 2013/05/10 06:51:26 riastradh Exp $ # # used by databases/openldap-client/Makefile # used by databases/openldap-cloak/Makefile @@ -72,6 +72,12 @@ CONFIGURE_ARGS+= --localstatedir=${OPENLDAP_VARDIR} CONFIGURE_ARGS+= --enable-dynamic CONFIGURE_ARGS+= --with-tls=openssl +.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) && ${OPSYS} == "NetBSD" +# Probably true for more than just NetBSD. +CONFIGURE_ARGS+= --with-yielding_select=yes +CONFIGURE_ENV+= ac_cv_func_memcmp_working=yes +.endif + EGDIR= ${PREFIX}/share/examples/openldap CONF_FILES= # empty |