mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
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
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user