commit:     ff6cb86226cec4ee21db00dbbd7e10c3764a61c7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 31 04:42:50 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 31 04:42:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6cb862

net-libs/libtorrent-rasterbar: fix finding Boost in some cases

AX_BOOST_BASE may be misled if some errant directories exist,
like /usr/lib/x86_64-linux-gnu (thinking we're on Debian).

Closes: https://bugs.gentoo.org/767835
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild 
b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild
index a554e4fd27c..2ee9d264251 100644
--- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild
+++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild
@@ -70,6 +70,8 @@ src_configure() {
                $(use_enable static-libs static)
                $(use_enable test tests)
                --with-boost="${ESYSROOT}/usr"
+               # Needed because of bug #767835
+               --with-boost-libdir="${ESYSROOT}/usr/$(get_libdir)"
                --with-libiconv
                --enable-logging
        )

Reply via email to