ports/125616: Add --with-fast-mutexes to databases/mysql51-server

Gea-Suan Lin gslin at gslin.org
Mon Jul 14 22:50:02 UTC 2008


>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 at 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:



More information about the freebsd-ports-bugs mailing list