diff options
-rw-r--r-- | databases/mysql323-server/Makefile | 3 | ||||
-rw-r--r-- | databases/mysql40-server/Makefile | 3 | ||||
-rw-r--r-- | databases/mysql41-server/Makefile | 3 | ||||
-rw-r--r-- | databases/mysql50-server/Makefile | 3 | ||||
-rw-r--r-- | databases/mysql51-server/Makefile | 3 | ||||
-rw-r--r-- | databases/mysql54-server/Makefile | 3 | ||||
-rw-r--r-- | databases/mysql55-server/Makefile | 3 | ||||
-rw-r--r-- | databases/mysql60-server/Makefile | 3 | ||||
-rw-r--r-- | databases/percona55-server/Makefile | 3 |
9 files changed, 27 insertions, 0 deletions
diff --git a/databases/mysql323-server/Makefile b/databases/mysql323-server/Makefile index b0f1d7fd3bdf..f527a85f9a59 100644 --- a/databases/mysql323-server/Makefile +++ b/databases/mysql323-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}" \ diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile index b0f1d7fd3bdf..f527a85f9a59 100644 --- a/databases/mysql40-server/Makefile +++ b/databases/mysql40-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}" \ 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}" \ 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}" \ diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile index b0f1d7fd3bdf..f527a85f9a59 100644 --- a/databases/mysql51-server/Makefile +++ b/databases/mysql51-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}" \ diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile index b0f1d7fd3bdf..f527a85f9a59 100644 --- a/databases/mysql54-server/Makefile +++ b/databases/mysql54-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}" \ diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile index b0f1d7fd3bdf..f527a85f9a59 100644 --- a/databases/mysql55-server/Makefile +++ b/databases/mysql55-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}" \ diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile index b0f1d7fd3bdf..f527a85f9a59 100644 --- a/databases/mysql60-server/Makefile +++ b/databases/mysql60-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}" \ diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile index b0f1d7fd3bdf..f527a85f9a59 100644 --- a/databases/percona55-server/Makefile +++ b/databases/percona55-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}" \ |