summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-05-10 16:09:19 -0400
committerMike Gilbert <floppym@gentoo.org>2020-05-10 16:09:19 -0400
commit5cd28f85e7cef552d4e7f4f2a23e12383cec786c (patch)
tree0f3e8d62b94f90bad6fcb5332cb82354c06a4071 /eclass
parentapp-emulation/slirp4netns: Respect AR variable (bug 722162) (diff)
downloadgentoo-5cd28f85e7cef552d4e7f4f2a23e12383cec786c.tar.gz
gentoo-5cd28f85e7cef552d4e7f4f2a23e12383cec786c.tar.bz2
gentoo-5cd28f85e7cef552d4e7f4f2a23e12383cec786c.zip
meson.eclass: add workaround for broken boost detection
Bug: https://bugs.gentoo.org/721786 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/meson.eclass4
1 files changed, 4 insertions, 0 deletions
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