diff options
Diffstat (limited to 'databases/mysql50-server/Makefile')
-rw-r--r-- | databases/mysql50-server/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile index b0f1d7fd3bdf..f527a85f9a59 100644 --- a/databases/mysql50-server/Makefile +++ b/databases/mysql50-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}" \ |