Use the most recent change from arm to fix build on riscv64.

While here, generalize the arm expression the way we usually do.

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2020-12-24 06:48:48 +00:00
parent 6f4a8b2d6d
commit 60e81bab18
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559050

View file

@ -11,7 +11,6 @@ COMMENT= Multithreaded noSQL database (client and library)
LICENSE= APACHE20
BROKEN_mips64= fails to link: ld: failed to merge target specific data
BROKEN_riscv64= fails to build: dt_modtext: libdtrace/common/dt_link.c(947): RISC-V implementation required
LIB_DEPENDS= libevent.so:devel/libevent \
libev.so:devel/libev \
@ -25,7 +24,7 @@ CMAKE_ARGS= -DLCB_NO_TESTS=1
.include <bsd.port.pre.mk>
.if ${ARCH} == aarch64 || ${ARCH} == armv6 || ${ARCH} == armv7
.if ${ARCH} == aarch64 || ${ARCH:Marmv*} || ${ARCH} == riscv64
CMAKE_ARGS+= -DDTRACE:BOOL=FALSE
.endif