aboutsummaryrefslogtreecommitdiff
path: root/net/openldap20
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/openldap20
parent7530f93a62fb8bcd686d08f2bfa5dc0f623f3c73 (diff)
downloadports-4ca0e60800b90ba4a6de31beabeee8ccce611649.tar.gz
ports-4ca0e60800b90ba4a6de31beabeee8ccce611649.zip
-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.
Notes
Notes: svn path=/head/; revision=40539
Diffstat (limited to 'net/openldap20')
-rw-r--r--net/openldap20/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openldap20/Makefile b/net/openldap20/Makefile
index dd23b9feb994..795d65429e76 100644
--- a/net/openldap20/Makefile
+++ b/net/openldap20/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