diff options
| author | cyan <cyjan@mrcyjanek.net> | 2024-11-14 17:55:20 +0000 |
|---|---|---|
| committer | cyan <cyjan@mrcyjanek.net> | 2024-11-14 17:55:20 +0000 |
| commit | f8a6716e00f62a9985f73c4837c904eca3b71275 (patch) | |
| tree | 4f219f128472bfc13e52cc2ea1de9e2081d888df /contrib | |
| parent | 9060109354c9989172262e899286a6e8672d2b8c (diff) | |
fix package name
migrate mirror to my own hostin
change download mirror priority (fallback first)
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/depends/Makefile | 2 | ||||
| -rw-r--r-- | contrib/depends/funcs.mk | 4 | ||||
| -rw-r--r-- | contrib/depends/packages/native_clang.mk | 2 |
3 files changed, 4 insertions, 4 deletions
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 |
