Date: Fri, 22 Nov 2024 14:15:59 +0900 From: Tatsuki Makino <tatsuki_makino@hotmail.com> To: Dimitry Andric <dim@FreeBSD.org>, "freebsd-ports@FreeBSD.org" <freebsd-ports@FreeBSD.org> Subject: Re: security/gnutls: gnutls-3.8.8 requires llvm17 or higher to build Message-ID: <SI2PR01MB5036EC68BFF463E3FCE58317FA232@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> In-Reply-To: <01CFFBA8-5244-4207-A107-7F95C2FF0F4F@FreeBSD.org> References: <SI2PR01MB50361D5039A88E8CFFC805CEFA242@SI2PR01MB5036.apcprd01.prod.exchangelabs.com> <01CFFBA8-5244-4207-A107-7F95C2FF0F4F@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SI2PR01MB5036EC68BFF463E3FCE58317FA232>