aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql54-server
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2008-07-15 13:40:53 +0000
committerAlex Dupre <ale@FreeBSD.org>2008-07-15 13:40:53 +0000
commit7def302047574fde461ab2bc515ff6c7a4a4361a (patch)
treed27151c346da612e83832d2a098a6522ade77af4 /databases/mysql54-server
parentc455a6c2daacc7267d60e9381673434bb14e70bb (diff)
downloadports-7def302047574fde461ab2bc515ff6c7a4a4361a.tar.gz
ports-7def302047574fde461ab2bc515ff6c7a4a4361a.zip
Add support for --with-fast-mutexes.
PR: ports/125616 Submitted by: Gea-Suan Lin <gslin@gslin.org>
Notes
Notes: svn path=/head/; revision=216875
Diffstat (limited to 'databases/mysql54-server')
-rw-r--r--databases/mysql54-server/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index 469b782d1c0b..7054148353c3 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-server/Makefile
@@ -45,6 +45,9 @@ CONFIGURE_ARGS+=--with-extra-charsets=${WITH_XCHARSET}
.if defined(WITH_OPENSSL)
CONFIGURE_ARGS+=--with-ssl=bundled
.endif
+.if defined(WITH_FAST_MUTEXES)
+CONFIGURE_ARGS+=--with-fast-mutexes
+.endif
.if defined(BUILD_STATIC)
CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static
.endif
@@ -115,6 +118,7 @@ pre-fetch:
@${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library."
@${ECHO} " WITH_PROC_SCOPE_PTH=yes Use process scope threads"
@${ECHO} " (try it if you use libpthread)."
+ @${ECHO} " WITH_FAST_MUTEXES=yes Replace mutexes with spinlocks."
@${ECHO} " BUILD_OPTIMIZED=yes Enable compiler optimizations"
@${ECHO} " (use it if you need speed)."
@${ECHO} " BUILD_STATIC=yes Build a static version of mysqld."