1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Add WITH_LINUXTHREADS option to build with linuxthreads.

This commit is contained in:
Martin Blapp 2003-02-23 15:08:25 +00:00
parent 4de00373de
commit 3e47836f1a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76275
8 changed files with 72 additions and 0 deletions

View File

@ -66,6 +66,14 @@ CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static
.if defined(BUILD_OPTIMIZED)
CFLAGS+= -mcpu=i686
.endif
.if defined(WITH_LINUXTHREADS)
CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R
CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r'
CFLAGS+= -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
CFLAGS+= -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
@ -102,6 +110,7 @@ pre-fetch:
@${ECHO} " WITH_OPENSSL=yes Enable secure connections."
@${ECHO} " DB_DIR=directory Set alternate directory for database files"
@${ECHO} " (default is /var/db/mysql)."
@${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library."
@${ECHO} " OVERWRITE_DB=yes Re-initialize default databases"
@${ECHO} " SKIP_DNS_CHECK=yes Don't run resolveip to do an additional"
@${ECHO} " DNS check before inserting local hostname to"

View File

@ -66,6 +66,14 @@ CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static
.if defined(BUILD_OPTIMIZED)
CFLAGS+= -mcpu=i686
.endif
.if defined(WITH_LINUXTHREADS)
CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R
CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r'
CFLAGS+= -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
CFLAGS+= -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
@ -102,6 +110,7 @@ pre-fetch:
@${ECHO} " WITH_OPENSSL=yes Enable secure connections."
@${ECHO} " DB_DIR=directory Set alternate directory for database files"
@${ECHO} " (default is /var/db/mysql)."
@${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library."
@${ECHO} " OVERWRITE_DB=yes Re-initialize default databases"
@${ECHO} " SKIP_DNS_CHECK=yes Don't run resolveip to do an additional"
@${ECHO} " DNS check before inserting local hostname to"

View File

@ -66,6 +66,14 @@ CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static
.if defined(BUILD_OPTIMIZED)
CFLAGS+= -mcpu=i686
.endif
.if defined(WITH_LINUXTHREADS)
CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R
CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r'
CFLAGS+= -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
CFLAGS+= -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
@ -102,6 +110,7 @@ pre-fetch:
@${ECHO} " WITH_OPENSSL=yes Enable secure connections."
@${ECHO} " DB_DIR=directory Set alternate directory for database files"
@${ECHO} " (default is /var/db/mysql)."
@${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library."
@${ECHO} " OVERWRITE_DB=yes Re-initialize default databases"
@${ECHO} " SKIP_DNS_CHECK=yes Don't run resolveip to do an additional"
@${ECHO} " DNS check before inserting local hostname to"

View File

@ -66,6 +66,14 @@ CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static
.if defined(BUILD_OPTIMIZED)
CFLAGS+= -mcpu=i686
.endif
.if defined(WITH_LINUXTHREADS)
CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R
CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r'
CFLAGS+= -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
CFLAGS+= -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
@ -102,6 +110,7 @@ pre-fetch:
@${ECHO} " WITH_OPENSSL=yes Enable secure connections."
@${ECHO} " DB_DIR=directory Set alternate directory for database files"
@${ECHO} " (default is /var/db/mysql)."
@${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library."
@${ECHO} " OVERWRITE_DB=yes Re-initialize default databases"
@${ECHO} " SKIP_DNS_CHECK=yes Don't run resolveip to do an additional"
@${ECHO} " DNS check before inserting local hostname to"

View File

@ -66,6 +66,14 @@ CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static
.if defined(BUILD_OPTIMIZED)
CFLAGS+= -mcpu=i686
.endif
.if defined(WITH_LINUXTHREADS)
CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R
CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r'
CFLAGS+= -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
CFLAGS+= -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
@ -102,6 +110,7 @@ pre-fetch:
@${ECHO} " WITH_OPENSSL=yes Enable secure connections."
@${ECHO} " DB_DIR=directory Set alternate directory for database files"
@${ECHO} " (default is /var/db/mysql)."
@${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library."
@${ECHO} " OVERWRITE_DB=yes Re-initialize default databases"
@${ECHO} " SKIP_DNS_CHECK=yes Don't run resolveip to do an additional"
@${ECHO} " DNS check before inserting local hostname to"

View File

@ -66,6 +66,14 @@ CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static
.if defined(BUILD_OPTIMIZED)
CFLAGS+= -mcpu=i686
.endif
.if defined(WITH_LINUXTHREADS)
CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R
CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r'
CFLAGS+= -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
CFLAGS+= -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
@ -102,6 +110,7 @@ pre-fetch:
@${ECHO} " WITH_OPENSSL=yes Enable secure connections."
@${ECHO} " DB_DIR=directory Set alternate directory for database files"
@${ECHO} " (default is /var/db/mysql)."
@${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library."
@${ECHO} " OVERWRITE_DB=yes Re-initialize default databases"
@${ECHO} " SKIP_DNS_CHECK=yes Don't run resolveip to do an additional"
@${ECHO} " DNS check before inserting local hostname to"

View File

@ -66,6 +66,14 @@ CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static
.if defined(BUILD_OPTIMIZED)
CFLAGS+= -mcpu=i686
.endif
.if defined(WITH_LINUXTHREADS)
CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R
CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r'
CFLAGS+= -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
CFLAGS+= -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
@ -102,6 +110,7 @@ pre-fetch:
@${ECHO} " WITH_OPENSSL=yes Enable secure connections."
@${ECHO} " DB_DIR=directory Set alternate directory for database files"
@${ECHO} " (default is /var/db/mysql)."
@${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library."
@${ECHO} " OVERWRITE_DB=yes Re-initialize default databases"
@${ECHO} " SKIP_DNS_CHECK=yes Don't run resolveip to do an additional"
@${ECHO} " DNS check before inserting local hostname to"

View File

@ -66,6 +66,14 @@ CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static
.if defined(BUILD_OPTIMIZED)
CFLAGS+= -mcpu=i686
.endif
.if defined(WITH_LINUXTHREADS)
CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R
CONFIGURE_ARGS+=-D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r'
CFLAGS+= -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
CFLAGS+= -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
@ -102,6 +110,7 @@ pre-fetch:
@${ECHO} " WITH_OPENSSL=yes Enable secure connections."
@${ECHO} " DB_DIR=directory Set alternate directory for database files"
@${ECHO} " (default is /var/db/mysql)."
@${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library."
@${ECHO} " OVERWRITE_DB=yes Re-initialize default databases"
@${ECHO} " SKIP_DNS_CHECK=yes Don't run resolveip to do an additional"
@${ECHO} " DNS check before inserting local hostname to"