summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-03-15 19:32:42 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-03-15 19:51:49 +0200
commitdca9b4dbd626e8190b7800e072854322062e6801 (patch)
treeb828670006078799af27734f11ee2eda8de34c6e /dev-db/mariadb-connector-odbc
parentdev-db/mariadb-connector-odbc: new package. (diff)
downloadgentoo-dca9b4dbd626e8190b7800e072854322062e6801.tar.gz
gentoo-dca9b4dbd626e8190b7800e072854322062e6801.tar.bz2
gentoo-dca9b4dbd626e8190b7800e072854322062e6801.zip
dev-db/mariadb-connector-odbc: switch to cmake.eclass
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-db/mariadb-connector-odbc')
-rw-r--r--dev-db/mariadb-connector-odbc/mariadb-connector-odbc-3.1.6.ebuild6
1 files changed, 4 insertions, 2 deletions
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() {