From f8a6716e00f62a9985f73c4837c904eca3b71275 Mon Sep 17 00:00:00 2001 From: cyan Date: Thu, 14 Nov 2024 17:55:20 +0000 Subject: fix package name migrate mirror to my own hostin change download mirror priority (fallback first) --- contrib/depends/Makefile | 2 +- contrib/depends/funcs.mk | 4 ++-- contrib/depends/packages/native_clang.mk | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib') diff --git a/contrib/depends/Makefile b/contrib/depends/Makefile index 09cb177..d0854d7 100644 --- a/contrib/depends/Makefile +++ b/contrib/depends/Makefile @@ -2,7 +2,7 @@ SOURCES_PATH ?= $(BASEDIR)/sources BASE_CACHE ?= $(BASEDIR)/built -FALLBACK_DOWNLOAD_PATH ?= https://static.mrcyjanek.net/.download_mirror +FALLBACK_DOWNLOAD_PATH ?= https://static.mrcyjanek.net/download_mirror/ BUILD = $(shell ./config.guess) HOST ?= $(BUILD) diff --git a/contrib/depends/funcs.mk b/contrib/depends/funcs.mk index 574a8ed..5e31428 100644 --- a/contrib/depends/funcs.mk +++ b/contrib/depends/funcs.mk @@ -31,8 +31,8 @@ endef define fetch_file ( test -f $$($(1)_source_dir)/$(4) || \ - ( $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5)) || \ - $(call fetch_file_inner,$(1),$(FALLBACK_DOWNLOAD_PATH),$(4),$(4),$(5)))) + ( $(call fetch_file_inner,$(1),$(FALLBACK_DOWNLOAD_PATH),$(4),$(4),$(5)) || \ + $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5)))) endef define int_get_build_recipe_hash diff --git a/contrib/depends/packages/native_clang.mk b/contrib/depends/packages/native_clang.mk index 115f8f3..79523ae 100644 --- a/contrib/depends/packages/native_clang.mk +++ b/contrib/depends/packages/native_clang.mk @@ -2,7 +2,7 @@ package=native_clang $(package)_version=9.0.0 $(package)_download_path=https://releases.llvm.org/$($(package)_version) $(package)_download_file=clang+llvm-$($(package)_version)-x86_64-linux-gnu-ubuntu-18.04.tar.xz -$(package)_file_name=clang-llvm-$($(package)_version)-x86_64-linux-gnu-ubuntu-18.04.tar.xz +$(package)_file_name=clang+llvm-$($(package)_version)-x86_64-linux-gnu-ubuntu-18.04.tar.xz $(package)_sha256_hash=a23b082b30c128c9831dbdd96edad26b43f56624d0ad0ea9edec506f5385038d define $(package)_extract_cmds -- cgit v1.2.3