devel/embb: fix build on !x86

CMAKE_ARGS=-DARG=true seems not to be understood by cmake, ON needs to be passed instead.

Setting it makes build pass on powerpc64.

Approved by:	tier 2 blanket
This commit is contained in:
Piotr Kubaj 2020-12-31 22:37:20 +00:00
parent bf4c4a2b32
commit 88e6345949
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559784

View File

@ -3,7 +3,7 @@
PORTNAME= embb
PORTVERSION= 1.0.0
PORTREVISION= 4
PORTREVISION= 5
DISTVERSIONPREFIX= v
CATEGORIES= devel
@ -19,7 +19,7 @@ GH_ACCOUNT= siemens
USES= cmake compiler:c++11-lib
CMAKE_ARGS= -DINSTALL_PREFIX=${PREFIX} \
-DUSE_C11_AND_CXX11:BOOL=true
-DUSE_C11_AND_CXX11:BOOL=ON
OPTIONS_DEFINE= DOCS EXAMPLES TESTS
@ -31,8 +31,6 @@ TESTS_CMAKE_OFF=-DBUILD_TESTS=OFF
OPTIONS_SUB= yes
ONLY_FOR_ARCHS= amd64 i386
.include <bsd.port.options.mk>
post-patch: