aboutsummaryrefslogtreecommitdiff
path: root/net/openldap12/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/openldap12/Makefile')
-rw-r--r--net/openldap12/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openldap12/Makefile b/net/openldap12/Makefile
index 29219ba63c22..97ee82b14672 100644
--- a/net/openldap12/Makefile
+++ b/net/openldap12/Makefile
@@ -37,7 +37,7 @@ CONFIGURE_ARGS+= --enable-wrappers
.if defined(WITH_DB2)
BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db/
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 -D_THREAD_SAFE" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+= --enable-ldbm \
--with-ldbm-api=db2