commit:     d8f094e6ac766b82593ba5595be51a253c8fb4d2
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  6 08:31:40 2023 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Fri Oct  6 08:32:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8f094e6

dev-lang/erlang: add dev-libs/libei blocker

Bug: https://bugs.gentoo.org/912888
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 dev-lang/erlang/erlang-26.0.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-lang/erlang/erlang-26.0.ebuild 
b/dev-lang/erlang/erlang-26.0.ebuild
index e7cd26bdcfab..60e753d858e2 100644
--- a/dev-lang/erlang/erlang-26.0.ebuild
+++ b/dev-lang/erlang/erlang-26.0.ebuild
@@ -38,8 +38,15 @@ RDEPEND="
        systemd? ( sys-apps/systemd )
        wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
 "
+
+# libei.so (from dev-libs/libei) conflicts with libei.a from
+# erl_interface. Causes build faiure. Erlang build system needs to be
+# patched to prefer its own libei instead of system libei. Installed
+# into /usr/lib/erlang so no conflict following installation. Bug
+# #912888.
 DEPEND="${RDEPEND}
        dev-lang/perl
+       !!dev-libs/libei
 "
 
 S="${WORKDIR}/otp-OTP-${PV}"

Reply via email to