Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2002 07:36:40 +0900 (JST)
From:      ITO Tsuyoshi <tsuyoshi@is.s.u-tokyo.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45173: [PATCH] mysql323-server ignores WITH_XCHARSET without WITH_CHARSET
Message-ID:  <200211092236.gA9Mae4F074501@san.is.s.u-tokyo.ac.jp>

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

>Number:         45173
>Category:       ports
>Synopsis:       [PATCH] mysql323-server ignores WITH_XCHARSET without WITH_CHARSET
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 09 14:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     ITO Tsuyoshi
>Release:        FreeBSD 4.7-RELEASE-p1 i386
>Organization:
The University of Tokyo
>Environment:
System: FreeBSD san.is.s.u-tokyo.ac.jp 4.7-RELEASE-p1 FreeBSD 4.7-RELEASE-p1 #1: Tue Oct 29 19:20:47 JST 2002 root@san.is.s.u-tokyo.ac.jp:/usr/obj/usr/src/sys/SAN i386


	
>Description:
	The `configure' script of MySQL accepts --with-charset and
	--with-extra-charset options.  Each of these has a default
	value (--with-charset=latin1 and --with-extra-charset=none).
	We can specify both, either one, or none of these options.

	With databases/mysql323-server port, we can specify the values
	for these options with WITH_CHARSET and WITH_XCHARSET
	variables on `make' command line.  However, the port ignores
	WITH_XCHARSET if we specify WITH_XCHARSET but not WITH_CHARSET.

>How-To-Repeat:
	After `make WITH_XCHARSET=complex install', examine config.log
	or try `safe_mysqld --user=mysql --default-character-set=ujis'.

>Fix:
	Here is a patch to solve this problem.

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/mysql323-server/Makefile,v
retrieving revision 1.144
diff -u -r1.144 Makefile
--- Makefile    21 Oct 2002 09:22:13 -0000      1.144
+++ Makefile    9 Nov 2002 21:50:19 -0000
@@ -41,9 +41,9 @@
 .endif
 .if defined(WITH_CHARSET) && ${WITH_CHARSET} != ""
 CONFIGURE_ARGS+=--with-charset=${WITH_CHARSET}
+.endif
 .if defined(WITH_XCHARSET) && ${WITH_XCHARSET} != ""
 CONFIGURE_ARGS+=--with-extra-charsets=${WITH_XCHARSET}
-.endif
 .endif
 .if defined(BUILD_STATIC)
 CONFIGURE_ARGS+=--with-mysqld-ldflags=--static

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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