Skip site navigation (1)Skip section navigation (2)
Date:      10 Sep 2011 15:36:16 -0000
From:      nbari@dalmp.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nbari@dalmp.com
Subject:   ports/160630: [PATCH] databases/mysql55-server Add WITH_COLLATION and WITH_CHARSET
Message-ID:  <20110910153616.99542.qmail@eu.route.mx>
Resent-Message-ID: <201109101540.p8AFe3h7024493@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         160630
>Category:       ports
>Synopsis:       [PATCH] databases/mysql55-server Add WITH_COLLATION and WITH_CHARSET
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 10 15:40:03 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Nicolas de Bari Embriz <nbari@dalmp.com>
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
>Environment:


	
>Description:
  When updating to mysql55 there are no options like previous mysql5X version of specifying the CHARSET

  With this patch user can specify the CHARSET and COLLATION using something like;

  make WITH_CHARSET=uft8 WITH_COLLATION=utf8_unicode_ci

>How-To-Repeat:
	
>Fix:

	

--- mysql55-server.diff begins here ---
diff -urN mysql55-server-old/Makefile mysql55-server/Makefile
--- mysql55-server-old/Makefile	2011-09-10 14:38:44.000000000 +0000
+++ mysql55-server/Makefile	2011-09-10 15:16:00.000000000 +0000
@@ -53,6 +53,12 @@
 .if defined(WITH_FASTMTX)
 CMAKE_ARGS+=	-DWITH_FAST_MUTEXES=1
 .endif
+.if defined(WITH_CHARSET) && ${WITH_CHARSET} != ""
+CMAKE_ARGS+=	-DDEFAULT_CHARSET=${WITH_CHARSET}
+.endif
+.if defined(WITH_COLLATION) && ${WITH_COLLATION} != ""
+CMAKE_ARGS+=	-DDEFAULT_COLLATION=${WITH_COLLATION}
+.endif
 
 # MySQL-Server part
 .if !defined(CLIENT_ONLY)
--- mysql55-server.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110910153616.99542.qmail>