mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
3662aa6f87
After the devel/nlohmann-json update in 551e034565
, net-im/nheko fails
to build due to linking errors unless net-im/mtxclient is rebuilt.
ld: error: undefined symbol:
mtx::events::state::to_json(nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,
std::__1::vector, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char>>, bool, long,
unsigned long, double, std::__1::allocator,
nlohmann::json_abi_v3_11_3::adl_serializer, std::__1::vector<unsigned
char, std::__1::allocator<unsigned char>>, void>&,
mtx::events::state::Aliases const&) >>> referenced by EventStore.cpp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D42886
32 lines
671 B
Makefile
32 lines
671 B
Makefile
PORTNAME= mtxclient
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.9.2
|
|
PORTREVISION= 4
|
|
CATEGORIES= net-im
|
|
|
|
MAINTAINER= adridg@FreeBSD.org
|
|
COMMENT= Client API library for the Matrix protocol
|
|
WWW= https://nheko.im/nheko-reborn/mtxclient/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= nlohmann-json>=3:devel/nlohmann-json
|
|
LIB_DEPENDS= \
|
|
libcoeurl.so:ftp/coeurl \
|
|
libolm.so:security/olm \
|
|
libsodium.so:security/libsodium \
|
|
libre2.so:devel/re2 \
|
|
libspdlog.so:devel/spdlog
|
|
|
|
USES= cmake compiler:c++17-lang pkgconfig ssl \
|
|
tar:xz
|
|
CMAKE_OFF= BUILD_LIB_TESTS
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Nheko-Reborn
|
|
|
|
PLIST_SUB= SOVER=${DISTVERSION}
|
|
|
|
.include <bsd.port.mk>
|