From fe98a130284f2ae19105a383aa2aeb0c95c9eb7f Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 1 Nov 2022 11:16:08 -0700 Subject: [PATCH] misc/veles: Disable Boost in msgpack Follow devel/msgpack-cxx port disabling Boost. --- misc/veles/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/misc/veles/Makefile b/misc/veles/Makefile index f71b6b1bb505a..2e9f28d1e3897 100644 --- a/misc/veles/Makefile +++ b/misc/veles/Makefile @@ -24,7 +24,7 @@ BUILD_DEPENDS= msgpack-c>0:devel/msgpack-c \ ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} -USES= cmake compiler localbase python:3.6+ qt:5 shebangfix # localbase is for boost headers included from the headers installed by msgpack-cxx +USES= cmake compiler python:3.6+ qt:5 shebangfix SHEBANG_GLOB= *.py SHEBANG_FILES= python/plugin python/proxy resources/install/postinst python/test_dis USE_GITHUB= yes @@ -36,6 +36,8 @@ CMAKE_ARGS= -DFREEBSD_PYTHON_CMD:STRING=${PYTHON_CMD} \ -DFREEBSD_LLVM_VERSION:STDING=${LLVM_DEFAULT} \ -DFREEBSD_PYTHON_SITELIBDIR:STRING=${PYTHON_SITELIBDIR} \ -DMSGPACK_INCLUDE_PATH:STRING=${LOCALBASE}/include/mgpack +CMAKE_OFF= MSGPACK_USE_BOOST # this should work, but Veles doesn't use cmake scripts for msgpack +CXXFLAGS+= -DMSGPACK_NO_BOOST # workaround for the above .include