1 |
Downloading sources in src_configure is a bad idea. |
2 |
|
3 |
Ref: http://mesonbuild.com/FAQ.html#does-wrap-download-sources-behind-my-back |
4 |
--- |
5 |
eclass/meson.eclass | 3 ++- |
6 |
1 file changed, 2 insertions(+), 1 deletion(-) |
7 |
|
8 |
diff --git a/eclass/meson.eclass b/eclass/meson.eclass |
9 |
index ad260eb65b09..bb60a16aad50 100644 |
10 |
--- a/eclass/meson.eclass |
11 |
+++ b/eclass/meson.eclass |
12 |
@@ -48,7 +48,7 @@ EXPORT_FUNCTIONS src_configure src_compile src_test src_install |
13 |
if [[ -z ${_MESON_ECLASS} ]]; then |
14 |
_MESON_ECLASS=1 |
15 |
|
16 |
-DEPEND=">=dev-util/meson-0.39.1 |
17 |
+DEPEND=">=dev-util/meson-0.40.0 |
18 |
>=dev-util/ninja-1.7.2" |
19 |
|
20 |
# @ECLASS-VARIABLE: BUILD_DIR |
21 |
@@ -126,6 +126,7 @@ meson_src_configure() { |
22 |
--localstatedir "${EPREFIX}/var/lib" |
23 |
--prefix "${EPREFIX}/usr" |
24 |
--sysconfdir "${EPREFIX}/etc" |
25 |
+ --wrap-mode nodownload |
26 |
) |
27 |
|
28 |
# Both meson(1) and _meson_create_cross_file need these |
29 |
-- |
30 |
2.13.0 |