From 1c4a79e591710e2e22a165cf4ca58756969fb5e5 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Mon, 27 Aug 2018 02:16:26 +0200 Subject: [PATCH] dev-db/mariadb-connector-c: set unix socket Closes: https://bugs.gentoo.org/662226 Package-Manager: Portage-2.3.48, Repoman-2.3.10 --- ...nector-c-3.0.3.ebuild => mariadb-connector-c-3.0.3-r1.ebuild} | 1 + ...nector-c-3.0.4.ebuild => mariadb-connector-c-3.0.4-r1.ebuild} | 1 + dev-db/mariadb-connector-c/mariadb-connector-c-3.0.6.ebuild | 1 + dev-db/mariadb-connector-c/mariadb-connector-c-9999.ebuild | 1 + 4 files changed, 4 insertions(+) rename dev-db/mariadb-connector-c/{mariadb-connector-c-3.0.3.ebuild => mariadb-connector-c-3.0.3-r1.ebuild} (98%) rename dev-db/mariadb-connector-c/{mariadb-connector-c-3.0.4.ebuild => mariadb-connector-c-3.0.4-r1.ebuild} (97%) diff --git a/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.3.ebuild b/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.3-r1.ebuild similarity index 98% rename from dev-db/mariadb-connector-c/mariadb-connector-c-3.0.3.ebuild rename to dev-db/mariadb-connector-c/mariadb-connector-c-3.0.3-r1.ebuild index b58efb7c1cb4..b15b8490e8e3 100644 --- a/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.3.ebuild +++ b/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.3-r1.ebuild @@ -84,6 +84,7 @@ multilib_src_configure() { -DWITH_SSL:STRING=$(usex ssl $(usex gnutls GNUTLS OPENSSL) OFF) -DWITH_CURL=$(usex curl ON OFF) -DAUTH_GSSAPI_PLUGIN_TYPE:STRING=$(usex kerberos ON OFF) + -DMARIADB_UNIX_ADDR="${EPREFIX%/}/var/run/mysqld/mysqld.sock" -DINSTALL_LIBDIR="$(get_libdir)" -DINSTALL_PLUGINDIR="$(get_libdir)/mariadb/plugin" -DINSTALL_BINDIR=bin diff --git a/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.4.ebuild b/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.4-r1.ebuild similarity index 97% rename from dev-db/mariadb-connector-c/mariadb-connector-c-3.0.4.ebuild rename to dev-db/mariadb-connector-c/mariadb-connector-c-3.0.4-r1.ebuild index 26cda8c4c2f2..df11d5524952 100644 --- a/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.4.ebuild +++ b/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.4-r1.ebuild @@ -69,6 +69,7 @@ multilib_src_configure() { -DWITH_SSL:STRING=$(usex ssl $(usex gnutls GNUTLS OPENSSL) OFF) -DWITH_CURL=$(usex curl ON OFF) -DCLIENT_PLUGIN_AUTH_GSSAPI_CLIENT:STRING=$(usex kerberos DYNAMIC OFF) + -DMARIADB_UNIX_ADDR="${EPREFIX%/}/var/run/mysqld/mysqld.sock" -DINSTALL_LIBDIR="$(get_libdir)" -DINSTALL_PLUGINDIR="$(get_libdir)/mariadb/plugin" -DINSTALL_BINDIR=bin diff --git a/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.6.ebuild b/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.6.ebuild index 26cda8c4c2f2..df11d5524952 100644 --- a/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.6.ebuild +++ b/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.6.ebuild @@ -69,6 +69,7 @@ multilib_src_configure() { -DWITH_SSL:STRING=$(usex ssl $(usex gnutls GNUTLS OPENSSL) OFF) -DWITH_CURL=$(usex curl ON OFF) -DCLIENT_PLUGIN_AUTH_GSSAPI_CLIENT:STRING=$(usex kerberos DYNAMIC OFF) + -DMARIADB_UNIX_ADDR="${EPREFIX%/}/var/run/mysqld/mysqld.sock" -DINSTALL_LIBDIR="$(get_libdir)" -DINSTALL_PLUGINDIR="$(get_libdir)/mariadb/plugin" -DINSTALL_BINDIR=bin diff --git a/dev-db/mariadb-connector-c/mariadb-connector-c-9999.ebuild b/dev-db/mariadb-connector-c/mariadb-connector-c-9999.ebuild index 26cda8c4c2f2..df11d5524952 100644 --- a/dev-db/mariadb-connector-c/mariadb-connector-c-9999.ebuild +++ b/dev-db/mariadb-connector-c/mariadb-connector-c-9999.ebuild @@ -69,6 +69,7 @@ multilib_src_configure() { -DWITH_SSL:STRING=$(usex ssl $(usex gnutls GNUTLS OPENSSL) OFF) -DWITH_CURL=$(usex curl ON OFF) -DCLIENT_PLUGIN_AUTH_GSSAPI_CLIENT:STRING=$(usex kerberos DYNAMIC OFF) + -DMARIADB_UNIX_ADDR="${EPREFIX%/}/var/run/mysqld/mysqld.sock" -DINSTALL_LIBDIR="$(get_libdir)" -DINSTALL_PLUGINDIR="$(get_libdir)/mariadb/plugin" -DINSTALL_BINDIR=bin -- 2.26.2