aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql40-server
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2003-03-26 23:27:15 +0000
committerMartin Blapp <mbr@FreeBSD.org>2003-03-26 23:27:15 +0000
commit4a0ac5cba00c454ad915b2dabe633c8c4a267c75 (patch)
treedf8b68e28af12cf34ba0a8319ee8002b00de4023 /databases/mysql40-server
parent5989e134350299ab04f5f63151881920cf1091c3 (diff)
downloadports-4a0ac5cba00c454ad915b2dabe633c8c4a267c75.tar.gz
ports-4a0ac5cba00c454ad915b2dabe633c8c4a267c75.zip
Notes
Diffstat (limited to 'databases/mysql40-server')
-rw-r--r--databases/mysql40-server/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile
index 0a519bcc2c15..7f4a067cff34 100644
--- a/databases/mysql40-server/Makefile
+++ b/databases/mysql40-server/Makefile
@@ -71,13 +71,14 @@ CFLAGS+= -mcpu=i686
.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
.if ${OSVERSION} > 500000
LIB_DEPENDS+= lthread.3:${PORTSDIR}/devel/linuxthreads
+CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r -llstdc++ -llsupc++'
.else
LIB_DEPENDS+= lthread.2:${PORTSDIR}/devel/linuxthreads
+CONFIGURE_ARGS+=-L${LOCALBASE}/lib -llthread -llgcc_r'
.endif
.endif