From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1560233-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id BB133158089
	for <garchives@archives.gentoo.org>; Fri,  6 Oct 2023 08:35:27 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0EA552BC0A7;
	Fri,  6 Oct 2023 08:35:27 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E9CC02BC0A7
	for <gentoo-commits@lists.gentoo.org>; Fri,  6 Oct 2023 08:35:26 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 32CDF335CDF
	for <gentoo-commits@lists.gentoo.org>; Fri,  6 Oct 2023 08:35:26 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BACEE949
	for <gentoo-commits@lists.gentoo.org>; Fri,  6 Oct 2023 08:35:24 +0000 (UTC)
From: "Matthew Smith" <matthew@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" <matthew@gentoo.org>
Message-ID: <1696581152.d8f094e6ac766b82593ba5595be51a253c8fb4d2.matthew@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/erlang/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-lang/erlang/erlang-26.0.ebuild
X-VCS-Directories: dev-lang/erlang/
X-VCS-Committer: matthew
X-VCS-Committer-Name: Matthew Smith
X-VCS-Revision: d8f094e6ac766b82593ba5595be51a253c8fb4d2
X-VCS-Branch: master
Date: Fri,  6 Oct 2023 08:35:24 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: e219707a-f161-410a-a5db-6948e06fc4b2
X-Archives-Hash: c9312ce479cc989fc32a5465f389b94c

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}"