summaryrefslogtreecommitdiffstats
path: root/net/openldap2
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-03-29 16:35:19 +0000
committersobomax <sobomax@FreeBSD.org>2001-03-29 16:35:19 +0000
commit6e2b9def0c49c3e565a14f5987fd3e9f46d285c6 (patch)
treec23d8d7c62c20c0978b7a404b38eb7b9d5596d0f /net/openldap2
parentfaa774bb672904227e681f88c16cfceef448ef6c (diff)
downloadFreeBSD-ports-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.zip
FreeBSD-ports-6e2b9def0c49c3e565a14f5987fd3e9f46d285c6.tar.gz
-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/openldap2')
-rw-r--r--net/openldap2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openldap2/Makefile b/net/openldap2/Makefile
index dd23b9f..795d654 100644
--- a/net/openldap2/Makefile
+++ b/net/openldap2/Makefile
@@ -41,7 +41,7 @@ CONFIGURE_ARGS+= --enable-wrappers
.endif
# math.h uses _REENTRANT and stdio.h uses _THREAD_SAFE, so define both.
-CPPFLAGS+= -D_REENTRANT -D_THREAD_SAFE \
+CPPFLAGS+= -D_REENTRANT ${PTHREAD_CFLAGS} \
-I${LOCALBASE}/include \
-I${LOCALBASE}/include/db3
LDFLAGS+= -L${LOCALBASE}/lib
OpenPOWER on IntegriCloud