ports/lang/julia/files/patch-deps_llvm.mk
Hiroo Ono 7c2e16a817 lang/julia: update to 1.10.5
Release notes at
	https://discourse.julialang.org/t/julia-v1-10-5-has-been-released/118720

Also:
- reorganize some lines to pet portlint
- regenerate the patches
- don’t depend on suitesparse-config but on UMFPACK (including CHOLMOD) and SPQR
- replace mbedtls2 by mbedtls3 and remove deprecation
- allow to upgrade gmp and mpfr from Makefile
- fix USE_LDCONFIG
- apply the patch from PR 286169
- add a pkg-message about certificate error.

PR:		281237 + 286169
Reported by:	Hiroo Ono <hiroo.ono+freebsd (at) gmail.com> and Trond Endrestøl <Trond.Endrestol (at) ximalas.info>
2025-05-18 18:42:44 +02:00

22 lines
1.0 KiB
Makefile

--- deps/llvm.mk.orig 2024-08-27 21:19:31 UTC
+++ deps/llvm.mk
@@ -213,7 +213,7 @@ $$(SRCCACHE)/$$(LLVM_SRC_DIR)/$1.patch-applied: $$(SRC
LLVM_PATCH_PREV :=
define LLVM_PATCH
$$(SRCCACHE)/$$(LLVM_SRC_DIR)/$1.patch-applied: $$(SRCCACHE)/$$(LLVM_SRC_DIR)/source-extracted | $$(SRCDIR)/patches/$1.patch $$(LLVM_PATCH_PREV)
- cd $$(SRCCACHE)/$$(LLVM_SRC_DIR)/llvm && patch -p1 -f < $$(SRCDIR)/patches/$1.patch
+ cd $$(SRCCACHE)/$$(LLVM_SRC_DIR)/$2 && patch -p$3 -f < $$(SRCDIR)/patches/$1.patch
echo 1 > $$@
# declare that applying any patch must re-run the compile step
$$(LLVM_BUILDDIR_withtype)/build-compiled: $$(SRCCACHE)/$$(LLVM_SRC_DIR)/$1.patch-applied
@@ -229,7 +229,8 @@ endef
LLVM_PATCH_PREV := $$(SRCCACHE)/$$(LLVM_SRC_DIR)/$1.patch-applied
endef
-$(eval $(call LLVM_PATCH,llvm-ittapi-cmake))
+$(eval $(call LLVM_PATCH,llvm-ittapi-cmake,llvm,1))
+$(eval $(call LLVM_PATCH,llvm-version-fixes,.,0))
ifeq ($(USE_SYSTEM_ZLIB), 0)
$(LLVM_BUILDDIR_withtype)/build-configured: | $(build_prefix)/manifest/zlib