dev-db/mariadb-connector-odbc: switch to cmake.eclass
authorJoonas Niilola <juippis@gentoo.org>
Sun, 15 Mar 2020 17:32:42 +0000 (19:32 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Sun, 15 Mar 2020 17:51:49 +0000 (19:51 +0200)
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
dev-db/mariadb-connector-odbc/mariadb-connector-odbc-3.1.6.ebuild

index dc1668302aa7a300ebf3bd5b0de5a44b5dc57fef..0ad95ec91dfab347743c746fa2665a5d4f0a9718 100644 (file)
@@ -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() {