meson.eclass: add workaround for broken boost detection

Bug: https://bugs.gentoo.org/721786
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2020-05-10 16:09:19 -04:00
parent 3ef772f744
commit 5cd28f85e7

View File

@@ -366,6 +366,10 @@ meson_src_configure() {
# https://bugs.gentoo.org/625396
python_export_utf8_locale
# https://bugs.gentoo.org/721786
local -x BOOST_INCLUDEDIR="${BOOST_INCLUDEDIR-${EPREFIX}/usr/include}"
local -x BOOST_LIBRARYDIR="${BOOST_LIBRARYDIR-${EPREFIX}/usr/$(get_libdir)}"
(
# https://bugs.gentoo.org/720860
if ver_test "$(meson --version)" -lt "0.54"; then