Skip to content

Commit

Permalink
mail-mta/opensmtpd: fix libdir path
Browse files Browse the repository at this point in the history
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: gentoo@a05af7c
Bug: https://bugs.gentoo.org/739876
Signed-off-by: orbea <[email protected]>
Closes: gentoo#30803
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
orbea authored and thesamesam committed Apr 29, 2023
1 parent 63f0a21 commit c3ef6da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mail-mta/opensmtpd/opensmtpd-6.8.0_p2-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit c3ef6da

Please sign in to comment.