diff options
author | taca <taca@pkgsrc.org> | 2003-08-24 01:57:50 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2003-08-24 01:57:50 +0000 |
commit | 67f5aa7221d842a4968352027eaf2b834c312b1b (patch) | |
tree | bcd63804f9f056cdd4fc7434053a60d444a237a0 /databases/mysql-client/Makefile.common | |
parent | 29e73c622145dd785feab0cf677e024f12c26907 (diff) | |
download | pkgsrc-67f5aa7221d842a4968352027eaf2b834c312b1b.tar.gz |
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 (limited to 'databases/mysql-client/Makefile.common')
-rw-r--r-- | databases/mysql-client/Makefile.common | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/databases/mysql-client/Makefile.common b/databases/mysql-client/Makefile.common index dcaad9c77c4..f38ae9b7ae6 100644 --- a/databases/mysql-client/Makefile.common +++ b/databases/mysql-client/Makefile.common @@ -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_USER?= mysql 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-debug 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 |