diff --git a/depends/packages/libsodium.mk b/depends/packages/libsodium.mk index 65baaa9a8..965dd8524 100644 --- a/depends/packages/libsodium.mk +++ b/depends/packages/libsodium.mk @@ -16,8 +16,12 @@ define $(package)_set_vars endef endif +# libsodium's autogen.sh otherwise fetches config.sub/config.guess from +# git.savannah.gnu.org gitweb, which is frequently down (502) and writes the error +# page over config.sub, breaking configure. autoreconf -ivf (run first) already +# installs valid copies, so tell autogen.sh to skip the download. define $(package)_preprocess_cmds - cd $($(package)_build_subdir); ./autogen.sh + cd $($(package)_build_subdir); DO_NOT_UPDATE_CONFIG_SCRIPTS=1 ./autogen.sh endef define $(package)_config_cmds