Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2011 15:00:26 GMT
From:      geoffroy desvernay <dgeo@centrale-marseille.fr>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/156377: databases/mariadb: missing charsets support in port
Message-ID:  <201104281500.p3SF0Qkx084312@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/156377; it has been noted by GNATS.

From: geoffroy desvernay <dgeo@centrale-marseille.fr>
To: bug-followup@FreeBSD.org, dgeo@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--



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