ports/156377: databases/mariadb: missing charsets support in port

geoffroy desvernay dgeo at centrale-marseille.fr
Thu Apr 28 15:00:27 UTC 2011


The following reply was made to PR ports/156377; it has been noted by GNATS.

From: geoffroy desvernay <dgeo at centrale-marseille.fr>
To: bug-followup at FreeBSD.org, dgeo at centrale-marseille.fr
Cc:  
Subject: Re: ports/156377: databases/mariadb: missing charsets support in
 port
Date: Thu, 28 Apr 2011 16:59:16 +0200

 This is a multi-part message in MIME format.
 --------------080408020808000505080103
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 Last try with TB... mext time I'll mutt it :)
 -- 
 *geoffroy desvernay*
 
 
 --------------080408020808000505080103
 Content-Type: text/plain;
  name="mariadb_charset.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="mariadb_charset.diff"
 
 ===> Generating patch
 ===> Viewing diff with more
 diff -ruN --exclude=CVS /usr/ports/databases/mariadb.orig/Makefile /usr/ports/databases/mariadb/Makefile
 --- /usr/ports/databases/mariadb.orig/Makefile	2011-04-23 01:40:15.000000000 +0200
 +++ /usr/ports/databases/mariadb/Makefile	2011-04-28 16:56:08.000000000 +0200
 @@ -83,6 +83,25 @@
  MAN8=		mysqld.8 \
  		mysqlmanager.8
  
 +.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
 +.if defined(WITH_COLLATION) && ${WITH_COLLATION} != ""
 +CONFIGURE_ARGS+=--with-collation=${WITH_COLLATION}
 +.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} "      WITH_COLLATION=collate  Define default collation (latin1_swedish_ci)."
 +	@${ECHO} ""
 +
  post-patch:
  	@${REINPLACE_CMD} -e '/^install:/ s|^\(install:\).*$$|\1|' \
  		${WRKSRC}/mysql-test/Makefile.in ${WRKSRC}/sql-bench/Makefile.in
 ===> Done
 
 --------------080408020808000505080103--



More information about the freebsd-ports-bugs mailing list