diff --git a/make/buildsystem-helpers.mk b/make/buildsystem-helpers.mk index d2219b0f..eec4cbd0 100644 --- a/make/buildsystem-helpers.mk +++ b/make/buildsystem-helpers.mk @@ -61,6 +61,10 @@ define DOWNLOAD elif [ ! -f $(DL_DIR)/$(1) ]; then \ $(call MESSAGE,"Downloading") ; \ $(GET_ARCHIVE) $(DL_DIR) $($(PKG)_SITE)/$(1); \ + elif [ "$($(PKG)_VERSION)" == "curl-controlled" ]; then \ + $(call MESSAGE,"Downloading") ; \ + $(CD) $(DL_DIR); \ + curl --remote-name --time-cond $($(PKG)_SOURCE) $($(PKG)_SITE)/$($(PKG)_SOURCE) || true; \ fi; \ ) $(foreach hook,$($(PKG)_POST_DOWNLOAD_HOOKS),$(call $(hook))$(sep))