commit:     5cd28f85e7cef552d4e7f4f2a23e12383cec786c
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun May 10 20:09:19 2020 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun May 10 20:09:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cd28f85

meson.eclass: add workaround for broken boost detection

Bug: https://bugs.gentoo.org/721786
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 eclass/meson.eclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index 340dbfd1ff9..e79faa1beea 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

Reply via email to