diff options
author | Steffen Winter <steffen.winter@proton.me> | 2024-03-01 15:11:08 +0100 |
---|---|---|
committer | Steffen Winter <steffen.winter@proton.me> | 2024-03-01 15:11:08 +0100 |
commit | 54fbd24627346c1380b7731bc4be23045dd35776 (patch) | |
tree | 91dd0f413da3bf95c3043f17441bf40816d531f6 /sci-electronics | |
parent | sci-electronics/slang: drop 1.0, 2.0-r2, 3.0 (diff) | |
download | guru-54fbd24627346c1380b7731bc4be23045dd35776.tar.gz guru-54fbd24627346c1380b7731bc4be23045dd35776.tar.bz2 guru-54fbd24627346c1380b7731bc4be23045dd35776.zip |
sci-electronics/slang: Reorder deps, remove mimalloc dep
mimalloc from ::gentoo doesn't install static libraries which would be
required here.
Fixes: https://bugs.gentoo.org/922041
Signed-off-by: Steffen Winter <steffen.winter@proton.me>
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/slang/slang-4.0.ebuild | 11 | ||||
-rw-r--r-- | sci-electronics/slang/slang-5.0.ebuild | 11 |
2 files changed, 10 insertions, 12 deletions
diff --git a/sci-electronics/slang/slang-4.0.ebuild b/sci-electronics/slang/slang-4.0.ebuild index 65c708aba..8cf3c6e98 100644 --- a/sci-electronics/slang/slang-4.0.ebuild +++ b/sci-electronics/slang/slang-4.0.ebuild @@ -29,16 +29,14 @@ RESTRICT="!test? ( test )" RDEPEND=" ${PYTHON_DEPS} - >=dev-cpp/catch-3.0.1 - >=dev-libs/libfmt-9.1.0 - >=dev-libs/mimalloc-2.1.2 $(python_gen_cond_dep ' >=dev-python/pybind11-2.10[${PYTHON_USEDEP}] ') " - -DEPEND=" - ${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-libs/libfmt-9.1.0 + test? ( >=dev-cpp/catch-3.0.1 ) " PATCHES=( @@ -52,6 +50,7 @@ src_configure() { -D BUILD_SHARED_LIBS=ON -D SLANG_INCLUDE_PYLIB=$(usex python) -D SLANG_INCLUDE_TESTS=$(usex test) + -D SLANG_USE_MIMALLOC=OFF ) cmake_src_configure } diff --git a/sci-electronics/slang/slang-5.0.ebuild b/sci-electronics/slang/slang-5.0.ebuild index d910be8d2..671133d46 100644 --- a/sci-electronics/slang/slang-5.0.ebuild +++ b/sci-electronics/slang/slang-5.0.ebuild @@ -29,16 +29,14 @@ RESTRICT="!test? ( test )" RDEPEND=" ${PYTHON_DEPS} - >=dev-cpp/catch-3.0.1 - >=dev-libs/libfmt-9.1.0 - >=dev-libs/mimalloc-2.1.2 $(python_gen_cond_dep ' >=dev-python/pybind11-2.10[${PYTHON_USEDEP}] ') " - -DEPEND=" - ${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-libs/libfmt-9.1.0 + test? ( >=dev-cpp/catch-3.0.1 ) " PATCHES=( @@ -52,6 +50,7 @@ src_configure() { -D BUILD_SHARED_LIBS=ON -D SLANG_INCLUDE_PYLIB=$(usex python) -D SLANG_INCLUDE_TESTS=$(usex test) + -D SLANG_USE_MIMALLOC=OFF ) cmake_src_configure } |