dev-db/mariadb-connector-c: set unix socket
authorThomas Deutschmann <whissi@gentoo.org>
Mon, 27 Aug 2018 00:16:26 +0000 (02:16 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Mon, 27 Aug 2018 16:41:25 +0000 (18:41 +0200)
Closes: https://bugs.gentoo.org/662226
Package-Manager: Portage-2.3.48, Repoman-2.3.10

dev-db/mariadb-connector-c/mariadb-connector-c-3.0.3-r1.ebuild [moved from dev-db/mariadb-connector-c/mariadb-connector-c-3.0.3.ebuild with 98% similarity]
dev-db/mariadb-connector-c/mariadb-connector-c-3.0.4-r1.ebuild [moved from dev-db/mariadb-connector-c/mariadb-connector-c-3.0.4.ebuild with 97% similarity]
dev-db/mariadb-connector-c/mariadb-connector-c-3.0.6.ebuild
dev-db/mariadb-connector-c/mariadb-connector-c-9999.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 b58efb7c1cb468fc1c29db9be06c6a83e2c58f9a..b15b8490e8e3a7e5c987f689c9163a1f39ec6754 100644 (file)
@@ -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
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 26cda8c4c2f24ca9a2a6607d2c8006395239b096..df11d55249525a148a1b3407cb933ae3cdcd451f 100644 (file)
@@ -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
index 26cda8c4c2f24ca9a2a6607d2c8006395239b096..df11d55249525a148a1b3407cb933ae3cdcd451f 100644 (file)
@@ -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
index 26cda8c4c2f24ca9a2a6607d2c8006395239b096..df11d55249525a148a1b3407cb933ae3cdcd451f 100644 (file)
@@ -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