Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Dec 2022 23:11:15 GMT
From:      Koichiro Iwao <meta@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e1e189c2117c - main - security/softether5: fix wrong CMAKE_BOOL_ON
Message-ID:  <202212102311.2BANBFLG088623@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by meta:

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(-)

diff --git a/security/softether5/Makefile b/security/softether5/Makefile
index a712008ceed2..c2c1b15875c4 100644
--- a/security/softether5/Makefile
+++ b/security/softether5/Makefile
@@ -57,7 +57,7 @@ SUB_FILES=	pkg-message
 # devel/cpu_features not available on these archs, see devel/cpu_features/Makefile
 .if (${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == mips || ${ARCH} == mips64)
 # skip cpu_features when devel/cpu_features is not available
-CMAKE_BOOL_ON+=	SKIP_CPU_FEATURES
+CMAKE_ARGS+=	-DSKIP_CPU_FEATURES=1
 .else
 BUILD_DEPENDS+=	${LOCALBASE}/include/cpu_features/cpu_features_macros.h:devel/cpu_features
 LIB_DEPENDS+=	libcpu_features.so:devel/cpu_features



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212102311.2BANBFLG088623>