summaryrefslogtreecommitdiff
path: root/net/openldap
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-03-29 16:35:19 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-03-29 16:35:19 +0000
commit4ca0e60800b90ba4a6de31beabeee8ccce611649 (patch)
tree8324ab31f68eba587c532d238cd3f502d0a56322 /net/openldap
parentUpdate to version 2.28 (diff)
-pthread --> ${PTHREAD_LIBS}
-D_THREAD_SAFE --> ${PTHREAD_CFLAGS} Note: my first intention was to test this out on bento/beta, but per ade's requiest I opted to do it quickly.
Diffstat (limited to 'net/openldap')
-rw-r--r--net/openldap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openldap/Makefile b/net/openldap/Makefile
index 29219ba63c22..97ee82b14672 100644
--- a/net/openldap/Makefile
+++ b/net/openldap/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