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