diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 2001-01-25 01:03:09 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 2001-01-25 01:03:09 +0000 |
commit | 6f3337ca58d466ec206b3ecfc2dd5ee2fab42034 (patch) | |
tree | 7ff097e66ef6942bc5d459bb6a71975e016d6183 /databases/mysql41-server | |
parent | adb6cf981b408710954799822bd701a18fb03082 (diff) | |
download | ports-6f3337ca58d466ec206b3ecfc2dd5ee2fab42034.tar.gz ports-6f3337ca58d466ec206b3ecfc2dd5ee2fab42034.zip |
Add options for alternate charsets (WITH_CHARSET and WITH_XCHARSET).
Submitted by: roam
Notes
Notes:
svn path=/head/; revision=37550
Diffstat (limited to 'databases/mysql41-server')
-rw-r--r-- | databases/mysql41-server/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/mysql41-server/Makefile b/databases/mysql41-server/Makefile index b839c992d391..0067223ed025 100644 --- a/databases/mysql41-server/Makefile +++ b/databases/mysql41-server/Makefile @@ -35,6 +35,12 @@ CONFIGURE_ARGS= --localstatedir=${DB_DIR} \ .if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+=--enable-assembler .endif +.if defined(WITH_CHARSET) && ${WITH_CHARSET} != "" +CONFIGURE_ARGS+=--with-charset=${WITH_CHARSET} +.if defined(WITH_XCHARSET) && ${WITH_XCHARSET} != "" +CONFIGURE_ARGS+=--with-extra-charsets=${WITH_XCHARSET} +.endif +.endif CONFIGURE_ENV+= PERL=${PERL} \ PERL5=${PERL} \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ @@ -48,6 +54,15 @@ CXXFLAGS= ${CFLAGS} -felide-constructors -fno-rtti CXXFLAGS+= -fno-exceptions .endif +pre-fetch: + @${ECHO} "" + @${ECHO} "You may use the following build options:" + @${ECHO} "" + @${ECHO} " WITH_CHARSET=charset define the primary built-in charset (Latin1);" + @${ECHO} " WITH_XCHARSET=list define other built-in charsets (may be 'all');" + @${ECHO} " DB_DIR=directory Set alternate directory for database files." + @${ECHO} "" + # MySQL-Server part .if !defined(CLIENT_ONLY) MASTER_SITE_SUBDIR+= db |