Re: security/gnutls: gnutls-3.8.8 requires llvm17 or higher to build
- In reply to: Dimitry Andric : "Re: security/gnutls: gnutls-3.8.8 requires llvm17 or higher to build"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Nov 2024 05:15:59 UTC
Hello. On 2024/11/15 18:40, Dimitry Andric wrote: > When you must use an old version, you could add this as a patch for groups.c. It could be conditionalized on COMPILER_VERSION < 17. Thank you for the patch. In my case, it was dealt with by rewriting make.conf. FETCH_DEPENDS+= llvm-config17:devel/llvm17 CC= /usr/local/llvm17/bin/clang CXX= /usr/local/llvm17/bin/clang++ CPP= /usr/local/llvm17/bin/clang-cpp FETCH_DEPENDS is useful for adding dependencies that are missing in poudriere. However, it seems that it is better not to rewrite CC,CXX here with ports that use USES=compiler. It seems that FETCH_DEPENDS installation will not be ready in time for Mk/Uses/compiler.mk to be used. This is a workaround that is nothing more than an extra effort, so it doesn't matter :) Regards.