aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/slang/slang-9999.ebuild')
-rw-r--r--sci-electronics/slang/slang-9999.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/sci-electronics/slang/slang-9999.ebuild b/sci-electronics/slang/slang-9999.ebuild
index ed4201ed5..21f8cc2ac 100644
--- a/sci-electronics/slang/slang-9999.ebuild
+++ b/sci-electronics/slang/slang-9999.ebuild
@@ -42,18 +42,20 @@ DEPEND="
"
PATCHES=(
- "${FILESDIR}/${PN}-2.0-fix-lib-path.patch"
+ "${FILESDIR}/${PN}-2.0-fix-unordered-dense.patch"
+ "${FILESDIR}/${PN}-2.0-renamed-svlang.patch"
)
src_configure() {
python_setup
- # BUILD_SHARED_LIBS=OFF because of name collision
+ # SLANG_SHARED_LIB_NAME=svlang because of name collision
# https://github.com/MikePopoloski/slang/issues/646
local mycmakeargs=(
-D CMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
- -D BUILD_SHARED_LIBS=OFF
+ -D BUILD_SHARED_LIBS=ON
-D SLANG_INCLUDE_PYLIB=$(usex python)
-D SLANG_INCLUDE_TESTS=$(usex test)
+ -D SLANG_SHARED_LIB_NAME="svlang"
)
cmake_src_configure
}