pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mysql-client Introduce MYSQL_CHARSET and MYS...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9bfc97bd9715
branches:  trunk
changeset: 460192:9bfc97bd9715
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Aug 24 01:57:50 2003 +0000

description:
Introduce MYSQL_CHARSET and MYSQL_EXTRA_CHARSET.

MYSQL_CHARSET is default charracter set of mysql, default is "latin1".
MYSQL_EXTRA_CHARSET is additional charsets to be compiled in mysql,
default is "all".

Fix PR pkg/22560 by myself, OKed by wiz@.

diffstat:

 databases/mysql-client/Makefile.common |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 921fc1fbd0cd -r 9bfc97bd9715 databases/mysql-client/Makefile.common
--- a/databases/mysql-client/Makefile.common    Sun Aug 24 00:07:27 2003 +0000
+++ b/databases/mysql-client/Makefile.common    Sun Aug 24 01:57:50 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.16 2003/07/17 21:28:22 grant Exp $
+# $NetBSD: Makefile.common,v 1.17 2003/08/24 01:57:50 taca Exp $
 
 DISTNAME=              mysql-3.23.49
 CATEGORIES=            databases
@@ -21,6 +21,12 @@
 MYSQL_GROUP?=          mysql
 MYSQL_DATADIR?=                /var/mysql
 
+# MYSQL_CHARSET                default character set
+# MYSQL_EXTRA_CHARSET  additonal character set to be compiled in.
+#
+MYSQL_CHARSET?=                latin1
+MYSQL_EXTRA_CHARSET?=  all
+
 USE_BUILDLINK2=                # defined
 GNU_CONFIGURE=         # defined
 CONFIGURE_ARGS+=       --localstatedir=${MYSQL_DATADIR}
@@ -38,6 +44,9 @@
 CONFIGURE_ARGS+=       --without-bench
 CONFIGURE_ARGS+=       --with-low-memory
 
+CONFIGURE_ARGS+=       --with-charset=${MYSQL_CHARSET}
+CONFIGURE_ARGS+=       --with-extra-charsets=${MYSQL_EXTRA_CHARSET}
+
 CPPFLAGS+=             -Dunix
 
 # force HAVE_CURSES_H on Solaris since the configure script is broken



Home | Main Index | Thread Index | Old Index