summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-06-02 11:38:24 -0400
committerMike Gilbert <floppym@gentoo.org>2017-06-03 12:50:00 -0400
commit21e088e54e1663356ccfc4efeb98e495ffc0e00f (patch)
treee039312bf7213777be46018575008478b8befcb2 /eclass/meson.eclass
parentdev-python/networkx: modernize python function calls (diff)
downloadgentoo-21e088e54e1663356ccfc4efeb98e495ffc0e00f.tar.gz
gentoo-21e088e54e1663356ccfc4efeb98e495ffc0e00f.tar.bz2
gentoo-21e088e54e1663356ccfc4efeb98e495ffc0e00f.zip
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
Diffstat (limited to 'eclass/meson.eclass')
-rw-r--r--eclass/meson.eclass3
1 files changed, 2 insertions, 1 deletions
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