diff options
author | orbea <orbea@riseup.net> | 2023-04-28 13:04:19 -0700 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-29 06:46:33 +0100 |
commit | c3ef6da30448f328b0d173d38c944b6f6ce3171a (patch) | |
tree | ffb9cab8acd33b429c5306a01f860e7b44981c41 /mail-mta/opensmtpd | |
parent | sys-devel/gdb: Stabilize 12.1-r4 ppc64, #905268 (diff) | |
download | gentoo-c3ef6da30448f328b0d173d38c944b6f6ce3171a.tar.gz gentoo-c3ef6da30448f328b0d173d38c944b6f6ce3171a.tar.bz2 gentoo-c3ef6da30448f328b0d173d38c944b6f6ce3171a.zip |
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@riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/30803
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'mail-mta/opensmtpd')
-rw-r--r-- | mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r3.ebuild | 4 |
1 files 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) } |