Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libtorrent-rasterbar/
Date: Sun, 31 Oct 2021 04:43:36
Message-Id: 1635655370.ff6cb86226cec4ee21db00dbbd7e10c3764a61c7.sam@gentoo
1 commit: ff6cb86226cec4ee21db00dbbd7e10c3764a61c7
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 31 04:42:50 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 31 04:42:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6cb862
7
8 net-libs/libtorrent-rasterbar: fix finding Boost in some cases
9
10 AX_BOOST_BASE may be misled if some errant directories exist,
11 like /usr/lib/x86_64-linux-gnu (thinking we're on Debian).
12
13 Closes: https://bugs.gentoo.org/767835
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild | 2 ++
17 1 file changed, 2 insertions(+)
18
19 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
20 index a554e4fd27c..2ee9d264251 100644
21 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild
22 +++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild
23 @@ -70,6 +70,8 @@ src_configure() {
24 $(use_enable static-libs static)
25 $(use_enable test tests)
26 --with-boost="${ESYSROOT}/usr"
27 + # Needed because of bug #767835
28 + --with-boost-libdir="${ESYSROOT}/usr/$(get_libdir)"
29 --with-libiconv
30 --enable-logging
31 )