From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1512716-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 D570615ACFC
	for <garchives@archives.gentoo.org>; Sat, 29 Apr 2023 05:47:09 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1C389E0885;
	Sat, 29 Apr 2023 05:47:09 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 010B0E0885
	for <gentoo-commits@lists.gentoo.org>; Sat, 29 Apr 2023 05:47:08 +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 10E33340F79
	for <gentoo-commits@lists.gentoo.org>; Sat, 29 Apr 2023 05:47:08 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A27E88E4
	for <gentoo-commits@lists.gentoo.org>; Sat, 29 Apr 2023 05:47:06 +0000 (UTC)
From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org>
Message-ID: <1682747193.c3ef6da30448f328b0d173d38c944b6f6ce3171a.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/opensmtpd/
X-VCS-Repository: repo/gentoo
X-VCS-Files: mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r3.ebuild
X-VCS-Directories: mail-mta/opensmtpd/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: c3ef6da30448f328b0d173d38c944b6f6ce3171a
X-VCS-Branch: master
Date: Sat, 29 Apr 2023 05:47:06 +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: bafb6964-052f-4940-9438-435890122b17
X-Archives-Hash: 435f85f3e7f2b3054ef3a7038b9d0b4c

commit:     c3ef6da30448f328b0d173d38c944b6f6ce3171a
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Fri Apr 28 20:04:19 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 29 05:46:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3ef6da3

mail-mta/opensmtpd: fix libdir path

This fixes the path from the previous commit that sets the libevent and
libssl paths explicitly to avoid configure failures on multilib systems
that use lld where the incorrect lib directory is linked.

The configure check will test the path as a sysroot and then will take
it in its entirety in the 'else' case.

Fixes: https://github.com/gentoo/gentoo/commit/a05af7c36a3e4e74879cad3c03ef4ca2e3601b82
Bug: https://bugs.gentoo.org/739876
Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/30803
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r3.ebuild b/mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r3.ebuild
index aeba246f0bdd..718ece238838 100644
--- a/mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r3.ebuild
+++ b/mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r3.ebuild
@@ -66,8 +66,8 @@ src_configure() {
 		--with-user-smtpd=smtpd \
 		--with-user-queue=smtpq \
 		--with-group-queue=smtpq \
-		--with-libevent="$(get_libdir)" \
-		--with-libssl="$(get_libdir)" \
+		--with-libevent="${EPREFIX}/usr/$(get_libdir)" \
+		--with-libssl="${EPREFIX}/usr/$(get_libdir)" \
 		$(use_with pam auth-pam) \
 		$(use_with berkdb table-db)
 }