summaryrefslogtreecommitdiff
path: root/databases/openldap
diff options
context:
space:
mode:
authorriastradh <riastradh>2013-05-10 06:51:26 +0000
committerriastradh <riastradh>2013-05-10 06:51:26 +0000
commit427225306fe6b0d653493442ab309d80dc5cd98a (patch)
treecf9b20ad45e56f64cf27cabfd0d8335385786c5f /databases/openldap
parentc0484f0c64abbc88dffe4c81a38e728ed3c099f7 (diff)
downloadpkgsrc-427225306fe6b0d653493442ab309d80dc5cd98a.tar.gz
Pre-answer openldap autoconf run-tests for NetBSD cross-builds.
Diffstat (limited to 'databases/openldap')
-rw-r--r--databases/openldap/Makefile.common8
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