Date: Tue, 15 Jul 2008 06:48:03 +0800 (CST) From: Gea-Suan Lin <gslin@gslin.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gslin@gslin.org Subject: ports/125616: Add --with-fast-mutexes to databases/mysql51-server Message-ID: <20080714224803.A33E61CC54@ccreader.NCTU.edu.tw> Resent-Message-ID: <200807142250.m6EMo1ef078397@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 125616 >Category: ports >Synopsis: Add --with-fast-mutexes to databases/mysql51-server >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 14 22:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 6.3-STABLE i386 >Organization: >Environment: System: FreeBSD ccreader.NCTU.edu.tw 6.3-STABLE FreeBSD 6.3-STABLE #4: Sat May 17 02:23:23 CST 2008 root@ccreader.NCTU.edu.tw:/usr/obj/usr/src/sys/KERNEL i386 >Description: - Add support for --with-fast-mutexes. >How-To-Repeat: >Fix: diff -ruN /usr/ports/databases/mysql51-server/Makefile mysql51-server/Makefile --- /usr/ports/databases/mysql51-server/Makefile 2008-07-13 17:00:48.000000000 +0800 +++ mysql51-server/Makefile 2008-07-15 06:46:45.000000000 +0800 @@ -56,6 +56,9 @@ .if defined(WITH_COLLATION) && ${WITH_COLLATION} != "" CONFIGURE_ARGS+=--with-collation=${WITH_COLLATION} .endif +.if defined(WITH_FAST_MUTEXES) +CONFIGURE_ARGS+=--with-fast-mutexes +.endif .include <bsd.port.pre.mk> @@ -120,6 +123,7 @@ @${ECHO} " BUILD_STATIC=yes Build a static version of mysqld." @${ECHO} " (use it if you need even more speed)." @${ECHO} " WITH_NDB=yes Enable support for NDB Cluster." + @${ECHO} " WITH_FAST_MUTEXES=yes Replace mutex with spinlock." @${ECHO} "" post-patch: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080714224803.A33E61CC54>