gnu: MariaDB: Fix 'mariadb_config' output to refer to correct directories.
authorMarius Bakke <marius@gnu.org>
Sun, 20 Dec 2020 15:12:50 +0000 (16:12 +0100)
committerMarius Bakke <marius@gnu.org>
Sun, 20 Dec 2020 15:12:50 +0000 (16:12 +0100)
commit704b7861df926240fa730c05a59f7050fa45fec9
treedcefa7f91f977dbef2692c80339fccaaea5df2f2
parente693617f559f49d1d2606dd5ad997e444b9ad1b5
gnu: MariaDB: Fix 'mariadb_config' output to refer to correct directories.

This fixes a regression introduced in ce29031a23104928155b498d552fc4140cc03030
where 'mariadb_config' would return libdir and plugindir relative to the
location of the 'mariadb_config' program (which lives in a separate output).

While at it, fix a couple other wrong references, and a another regression
related to test installation.

* gnu/packages/databases.scm (mariadb)[arguments]: Patch "mariadb_config.c.in"
so that it falls back to old behavior.  Patch 'mariadb.pc.in' and
'mariadb_connector_c.cmake' to cope with absolute directory names. In
 #:configure-flags, don't set INSTALL_MYSQLTESTDIR, but delete the installed
tests with a phase.
gnu/packages/databases.scm