From: Mike Gilbert Date: Fri, 2 Jun 2017 15:38:24 +0000 (-0400) Subject: meson.eclass: pass --wrap-mode nodownload to meson X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=21e088e54e1663356ccfc4efeb98e495ffc0e00f;p=gentoo.git meson.eclass: pass --wrap-mode nodownload to meson Downloading sources in src_configure is a bad idea. Ref: http://mesonbuild.com/FAQ.html#does-wrap-download-sources-behind-my-back --- diff --git a/eclass/meson.eclass b/eclass/meson.eclass index ad260eb65b09..bb60a16aad50 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -48,7 +48,7 @@ EXPORT_FUNCTIONS src_configure src_compile src_test src_install if [[ -z ${_MESON_ECLASS} ]]; then _MESON_ECLASS=1 -DEPEND=">=dev-util/meson-0.39.1 +DEPEND=">=dev-util/meson-0.40.0 >=dev-util/ninja-1.7.2" # @ECLASS-VARIABLE: BUILD_DIR @@ -126,6 +126,7 @@ meson_src_configure() { --localstatedir "${EPREFIX}/var/lib" --prefix "${EPREFIX}/usr" --sysconfdir "${EPREFIX}/etc" + --wrap-mode nodownload ) # Both meson(1) and _meson_create_cross_file need these