mariadb-connector-c: fix makefile for GNU make 3.82

Old make thinks that ; terminates the recipe, have to escape it.
(other changes are just cosmetic)

(regression from 8c9b8c5970)

Change-Id: Ib0119511977bbff077f037fbb5975df9f860ae58
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105516
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
This commit is contained in:
Michael Stahl
2020-11-10 14:57:31 +01:00
committed by Michael Stahl
parent 81ff857b51
commit ed564a411b
@@ -32,15 +32,15 @@ $(eval $(call gb_UnpackedTarball_add_patches,mariadb-connector-c,\
# TODO are any "plugins" needed?
$(eval $(call gb_UnpackedTarball_set_post_action,mariadb-connector-c, \
< libmariadb/ma_client_plugin.c.in sed \
-e 's/@EXTERNAL_PLUGINS@/\
extern struct st_mysql_client_plugin pvio_socket_client_plugin;\
extern struct st_mysql_client_plugin caching_sha2_password_client_plugin;\
-e 's/@EXTERNAL_PLUGINS@/ \
extern struct st_mysql_client_plugin pvio_socket_client_plugin\; \
extern struct st_mysql_client_plugin caching_sha2_password_client_plugin\; \
/' \
-e 's/@BUILTIN_PLUGINS@/\
(struct st_mysql_client_plugin *)\&pvio_socket_client_plugin$(COMMA)\
(struct st_mysql_client_plugin *)\&caching_sha2_password_client_plugin$(COMMA)\
-e 's/@BUILTIN_PLUGINS@/ \
(struct st_mysql_client_plugin *)\&pvio_socket_client_plugin$(COMMA) \
(struct st_mysql_client_plugin *)\&caching_sha2_password_client_plugin$(COMMA) \
/' \
> libmariadb/ma_client_plugin.c \
> libmariadb/ma_client_plugin.c \
))