meson.eclass: add workaround for broken boost detection
authorMike Gilbert <floppym@gentoo.org>
Sun, 10 May 2020 20:09:19 +0000 (16:09 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sun, 10 May 2020 20:09:19 +0000 (16:09 -0400)
Bug: https://bugs.gentoo.org/721786
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
eclass/meson.eclass

index 340dbfd1ff9571ff5948ab5132fe88f60972ebb4..e79faa1beea3f84aac00f1f232c7d9efc2d2d62b 100644 (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