lang/julia fails to build on src/main. The same correction that was done for net/samba416 is necessary for lang/julia. Without LDFLAGS+=-Wl,--undefined-version in lang/julia/Makefile, we get these errors: gmake[5]: Entering directory '/construction/xports/lang/julia/work/julia-1.9.4/deps/scratch/llvm-julia-14.0.6-3/build_Release' ld: error: version script assignment of 'LLVM_14' to symbol 'LLVMCreateDisasm' failed: symbol not defined ld: error: version script assignment of 'LLVM_14' to symbol 'LLVMCreateDisasmCPU' failed: symbol not defined ld: error: version script assignment of 'LLVM_14' to symbol 'LLVMDisasmDispose' failed: symbol not defined ld: error: version script assignment of 'LLVM_14' to symbol 'LLVMDisasmInstruction' failed: symbol not defined ld: error: version script assignment of 'LLVM_14' to symbol 'LLVMSetDisasmOptions' failed: symbol not defined ld: error: version script assignment of 'LLVM_14' to symbol 'LLVMCreateDisasmCPUFeatures' failed: symbol not defined clang++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[5]: Leaving directory '/construction/xports/lang/julia/work/julia-1.9.4/deps/scratch/llvm-julia-14.0.6-3/build_Release'
Created attachment 247443 [details] Patch for lang/julia/Makefile Tested on main, stable/14, releng/14.0, stable/13, and releng/13.2. No unwanted side effects noticed on the unaffected branches.
Fixed with commit: https://cgit.FreeBSD.org/ports/commit/?id=09e6bef0b8f4a221753585e0f46ac8eea06f6ddc