Created attachment 238688 [details] security/softether5: fix wrong CMAKE_BOOL_ON No macro with this name is checked by USES=cmake. The correct one would be CMAKE_ON, but that one is not evaluated again after bsd.port.pre.mk. Just directly add -DSKIP_CPU_FEATURES=1 to CMAKE_ARGS to work around this shortcoming. Tested with Poudriere on armv7 arm64 FreeBSD 13.1. Please MFH if possible.
Do you approve of the patch? If yes, please set the maintainer-approval flag on the patch.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e1e189c2117ca7337a6133cb45523c249b6a7cd3 commit e1e189c2117ca7337a6133cb45523c249b6a7cd3 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-12-10 11:13:17 +0000 Commit: Koichiro Iwao <meta@FreeBSD.org> CommitDate: 2022-12-10 23:09:29 +0000 security/softether5: fix wrong CMAKE_BOOL_ON PR: 268294 No macro with this name is checked by USES=cmake. The correct one would be CMAKE_ON, but that one is not evaluated again after bsd.port.pre.mk. Just directly add -DSKIP_CPU_FEATURES=1 to CMAKE_ARGS to work around this shortcoming. security/softether5/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch 2022Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7e94a6e01792de3f14b70b2855151fd84064192d commit 7e94a6e01792de3f14b70b2855151fd84064192d Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-12-10 11:13:17 +0000 Commit: Koichiro Iwao <meta@FreeBSD.org> CommitDate: 2022-12-10 23:12:36 +0000 security/softether5: fix wrong CMAKE_BOOL_ON PR: 268294 No macro with this name is checked by USES=cmake. The correct one would be CMAKE_ON, but that one is not evaluated again after bsd.port.pre.mk. Just directly add -DSKIP_CPU_FEATURES=1 to CMAKE_ARGS to work around this shortcoming. (cherry picked from commit e1e189c2117ca7337a6133cb45523c249b6a7cd3) security/softether5/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Cmmitted, thanks!