From 6e2b9def0c49c3e565a14f5987fd3e9f46d285c6 Mon Sep 17 00:00:00 2001 From: sobomax Date: Thu, 29 Mar 2001 16:35:19 +0000 Subject: -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. --- net/openldap23-server/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/openldap23-server') diff --git a/net/openldap23-server/Makefile b/net/openldap23-server/Makefile index dd23b9feb99..795d65429e7 100644 --- a/net/openldap23-server/Makefile +++ b/net/openldap23-server/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 -- cgit