From: Joonas Niilola Date: Sun, 15 Mar 2020 17:32:42 +0000 (+0200) Subject: dev-db/mariadb-connector-odbc: switch to cmake.eclass X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dca9b4dbd626e8190b7800e072854322062e6801;p=gentoo.git dev-db/mariadb-connector-odbc: switch to cmake.eclass Signed-off-by: Joonas Niilola --- diff --git a/dev-db/mariadb-connector-odbc/mariadb-connector-odbc-3.1.6.ebuild b/dev-db/mariadb-connector-odbc/mariadb-connector-odbc-3.1.6.ebuild index dc1668302aa7..0ad95ec91dfa 100644 --- a/dev-db/mariadb-connector-odbc/mariadb-connector-odbc-3.1.6.ebuild +++ b/dev-db/mariadb-connector-odbc/mariadb-connector-odbc-3.1.6.ebuild @@ -3,6 +3,8 @@ EAPI=7 +CMAKE_ECLASS=cmake + inherit cmake-multilib DESCRIPTION="MariaDB Connector/ODBC" @@ -21,7 +23,7 @@ DEPEND="=dev-db/mariadb-connector-c-$(ver_cut 1-2)* RDEPEND="${DEPEND}" src_prepare() { - cmake-utils_src_prepare + cmake_src_prepare cp "${FILESDIR}/odbcinst.ini" . || die sed -e "s,lib/lib,$(get_libdir)/lib,g" -i "odbcinst.ini" || die @@ -37,7 +39,7 @@ multilib_src_configure() { -DINSTALL_LICENSE_DIR="/usr/share/doc/${P}" #-DCMAKE_C_FLAGS="$(mariadb_config --cflags)" ) - cmake-utils_src_configure + cmake_src_configure } multilib_src_install_all() {