From 5cd28f85e7cef552d4e7f4f2a23e12383cec786c Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sun, 10 May 2020 16:09:19 -0400 Subject: [PATCH] meson.eclass: add workaround for broken boost detection Bug: https://bugs.gentoo.org/721786 Signed-off-by: Mike Gilbert --- eclass/meson.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index 340dbfd1ff95..e79faa1beea3 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -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 -- 2.26.2