aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Leise <marco.leise@gmx.de>2019-12-21 15:46:46 +0100
committerMarco Leise <marco.leise@gmx.de>2019-12-21 15:46:46 +0100
commit1d5b5e9126a455a974b6e6c21f6cdee09e952b8f (patch)
tree1919872cba9e9469f8b55c8f8494c1d7fa81420f /dev-lang
parentonedrive-2.3.11 (diff)
downloaddlang-1d5b5e9126a455a974b6e6c21f6cdee09e952b8f.tar.gz
dlang-1d5b5e9126a455a974b6e6c21f6cdee09e952b8f.tar.bz2
dlang-1d5b5e9126a455a974b6e6c21f6cdee09e952b8f.zip
Fixes #80: eninja fails in installing phase with ACCESS DENIED
Signed-off-by: Marco Leise <marco.leise@gmx.de>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ldc2/ldc2-1.18.0.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-lang/ldc2/ldc2-1.18.0.ebuild b/dev-lang/ldc2/ldc2-1.18.0.ebuild
index 0c75a56..d15013d 100644
--- a/dev-lang/ldc2/ldc2-1.18.0.ebuild
+++ b/dev-lang/ldc2/ldc2-1.18.0.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit multilib-build cmake-utils ninja-utils eapi7-ver llvm
+inherit multilib-build cmake-utils llvm
MY_PV="${PV//_/-}"
MY_P="ldc-${MY_PV}-src"
@@ -54,7 +54,6 @@ d_src_configure() {
# Make sure libphobos2 is installed into ldc2's directory.
export LIBDIR_${ABI}="${LIBDIR_HOST}"
local mycmakeargs=(
- -G Ninja
-DD_VERSION=2
-DCMAKE_INSTALL_PREFIX=/usr/lib/ldc2/$(ver_cut 1-2)
-DD_COMPILER="${DMD}"
@@ -67,11 +66,11 @@ d_src_configure() {
}
d_src_compile() {
- eninja -C "${BUILD_DIR}"
+ cmake-utils_src_make
}
d_src_install() {
- eninja -C "${BUILD_DIR}" install
+ cmake-utils_src_install
rm -rf "${ED}"/usr/share/bash-completion
}