From 6aeb5995678240b2c7eba87065e72b2ac6c8eac2 Mon Sep 17 00:00:00 2001 From: Sean Bowe Date: Mon, 18 May 2020 11:37:04 -0600 Subject: [PATCH] Pass DO_NOT_UPDATE_CONFIG_SCRIPTS=1 to autogen.sh in libsodium dependency, to avoid updating config scripts over the network. --- contrib/install_sodium.sh | 2 +- depends/packages/libsodium.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/install_sodium.sh b/contrib/install_sodium.sh index 84cc202f76e8a..2442bdf25b827 100755 --- a/contrib/install_sodium.sh +++ b/contrib/install_sodium.sh @@ -71,7 +71,7 @@ cd "${SODIUM_PREFIX}/libsodium-${SODIUM_VERSION}/" echo "Applying patches.." patch -p1 < "${ROOT_PREFIX}/depends/patches/libsodium/1.0.15-pubkey-validation.diff" && \ patch -p1 < "${ROOT_PREFIX}/depends/patches/libsodium/1.0.15-signature-validation.diff" && \ -./autogen.sh +DO_NOT_UPDATE_CONFIG_SCRIPTS=1 ./autogen.sh # make "${SODIUM_PREFIX}/libsodium-${SODIUM_VERSION}/configure" --enable-static --disable-shared diff --git a/depends/packages/libsodium.mk b/depends/packages/libsodium.mk index d8e1371ff750d..6162accb6077a 100644 --- a/depends/packages/libsodium.mk +++ b/depends/packages/libsodium.mk @@ -10,7 +10,7 @@ $(package)_config_opts= define $(package)_preprocess_cmds patch -p1 < $($(package)_patch_dir)/1.0.15-pubkey-validation.diff && \ patch -p1 < $($(package)_patch_dir)/1.0.15-signature-validation.diff && \ - cd $($(package)_build_subdir); ./autogen.sh + cd $($(package)_build_subdir); DO_NOT_UPDATE_CONFIG_SCRIPTS=1 ./autogen.sh endef define $(package)_config_cmds