dev-lang/zig: Switch to cmake.eclass
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 6 Jan 2020 10:53:05 +0000 (11:53 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 6 Jan 2020 12:23:31 +0000 (13:23 +0100)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
dev-lang/zig/zig-0.5.0.ebuild
dev-lang/zig/zig-9999.ebuild

index 7189e4ddc62f1114e1e0540a35571504acf17b09..223f162cfd9c4c365e716e97954ebf23d7db7e4c 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 2019 Gentoo Authors
+# Copyright 2019-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit cmake-utils llvm
+inherit cmake llvm
 
 DESCRIPTION="A robust, optimal, and maintainable programming language"
 HOMEPAGE="https://ziglang.org/"
@@ -48,7 +48,7 @@ src_prepare() {
        sed -i 's/--prefix "${CMAKE_INSTALL_PREFIX}"/--prefix ".\/${CMAKE_INSTALL_PREFIX}"/' CMakeLists.txt || \
            die "unable to fix install path"
 
-       cmake-utils_src_prepare
+       cmake_src_prepare
 }
 
 src_configure() {
@@ -57,5 +57,5 @@ src_configure() {
                -DCLANG_LIBDIRS="$(llvm-config --libdir)"
        )
 
-       cmake-utils_src_configure
+       cmake_src_configure
 }
index 7189e4ddc62f1114e1e0540a35571504acf17b09..223f162cfd9c4c365e716e97954ebf23d7db7e4c 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 2019 Gentoo Authors
+# Copyright 2019-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit cmake-utils llvm
+inherit cmake llvm
 
 DESCRIPTION="A robust, optimal, and maintainable programming language"
 HOMEPAGE="https://ziglang.org/"
@@ -48,7 +48,7 @@ src_prepare() {
        sed -i 's/--prefix "${CMAKE_INSTALL_PREFIX}"/--prefix ".\/${CMAKE_INSTALL_PREFIX}"/' CMakeLists.txt || \
            die "unable to fix install path"
 
-       cmake-utils_src_prepare
+       cmake_src_prepare
 }
 
 src_configure() {
@@ -57,5 +57,5 @@ src_configure() {
                -DCLANG_LIBDIRS="$(llvm-config --libdir)"
        )
 
-       cmake-utils_src_configure
+       cmake_src_configure
 }