diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 2002-02-14 22:11:45 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 2002-02-14 22:11:45 +0000 |
commit | e3442cd5226b4d525b5c8bb5838414217c36baf2 (patch) | |
tree | 176cc9bc6b6f7fcc107bdf5c1a7aa521392b68e9 /databases/mysql41-server | |
parent | Fix build after movement of pilot-link's library. (diff) |
Add knob for --enable-thread-safe-client (THREAD_SAFE_CLIENT)
PR: ports/33280
Submitted by: Olafur Osvaldsson <oli@isnic.is>
Notes
Notes:
svn path=/head/; revision=54714
Diffstat (limited to 'databases/mysql41-server')
-rw-r--r-- | databases/mysql41-server/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/databases/mysql41-server/Makefile b/databases/mysql41-server/Makefile index b0f1d7fd3bdf..f527a85f9a59 100644 --- a/databases/mysql41-server/Makefile +++ b/databases/mysql41-server/Makefile @@ -54,6 +54,9 @@ CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -D CFLAGS+= -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads LIB_DEPENDS+= lthread.2:${PORTSDIR}/devel/linuxthreads .endif +.if defined(THREAD_SAFE_CLIENT) +CONFIGURE_ARGS+=--enable-thread-safe-client +.endif CONFIGURE_ENV+= PERL=${PERL} \ PERL5=${PERL} \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ |