ports/156377: databases/mariadb: missing charsets support in port
geoffroy desvernay
dgeo at centrale-marseille.fr
Wed Apr 27 15:00:23 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: Wed, 27 Apr 2011 16:52:51 +0200
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig6B776F6496B65D7AF3422AB1
Content-Type: multipart/mixed;
boundary="------------040002070507010905000709"
This is a multi-part message in MIME format.
--------------040002070507010905000709
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Another patch for this problem: last one had space vs tab problem.
--=20
*geoffroy desvernay*
--------------040002070507010905000709
Content-Type: text/plain;
name="mariadb_charset.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="mariadb_charset.diff"
diff -ru mariadb.orig/Makefile mariadb/Makefile
--- mariadb.orig/Makefile 2011-04-23 01:40:15.000000000 +0200
+++ mariadb/Makefile 2011-04-27 16:48:59.284715011 +0200
@@ -83,6 +83,25 @@
MAN8=3D mysqld.8 \
mysqlmanager.8
=20
+.if defined(WITH_CHARSET) && ${WITH_CHARSET} !=3D ""
+CONFIGURE_ARGS+=3D--with-charset=3D${WITH_CHARSET}
+.endif
+.if defined(WITH_XCHARSET) && ${WITH_XCHARSET} !=3D ""
+CONFIGURE_ARGS+=3D--with-extra-charsets=3D${WITH_XCHARSET}
+.endif
+.if defined(WITH_COLLATION) && ${WITH_COLLATION} !=3D ""
+CONFIGURE_ARGS+=3D--with-collation=3D${WITH_COLLATION}
+.endif
+
+pre-fetch:
+ @${ECHO} ""
+ @${ECHO} "You may use the following build options:"
+ @${ECHO} ""
+ @${ECHO} " WITH_CHARSET=3Dcharset Define the primary built-in c=
harset (latin1)."
+ @${ECHO} " WITH_XCHARSET=3Dlist Define other built-in charset=
s (may be 'all')."
+ @${ECHO} " WITH_COLLATION=3Dcollate Define default collation (lat=
in1_swedish_ci)."
+ @${ECHO} ""
+
post-patch:
@${REINPLACE_CMD} -e '/^install:/ s|^\(install:\).*$$|\1|' \
${WRKSRC}/mysql-test/Makefile.in ${WRKSRC}/sql-bench/Makefile.in
--------------040002070507010905000709--
--------------enig6B776F6496B65D7AF3422AB1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNuC3DAAoJEC0NWrh8JT1SddAIALfV4CrL9F3aqcrIeBJTHiCM
9RrkpfhhPnY/tGqclYnUuPSmH3F29T5sDe53/EkdmHoE7gunepNmlvsZOIqEUdU+
N8znANUfQa/65rHm+0DILguRyzGwmrxpei5sArhFVpIT3Az1VDQGDgXeStPphCkl
tNOqfy/BJzMbmsc08j0txJNjQ2kEB8ps/D5H3Qcc7O4g0cZNWqcE1LiPKW4ty1Aw
+QbBT2TsraxqlhKuUKM4vPbJ/OieQMpRfRVdUB50CtnvlG4mEO/eS266HORnDQdY
RDx4zGC8r8wPrw5IAWHpTvnyTgJykn44iZ24IPxUUOzoVe62kBX26OGChyHMcn0=
=cSX9
-----END PGP SIGNATURE-----
--------------enig6B776F6496B65D7AF3422AB1--
More information about the freebsd-ports-bugs
mailing list