aboutsummaryrefslogtreecommitdiff
path: root/net-im/nheko
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2019-12-04 13:19:05 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2019-12-04 13:19:05 +0000
commite00fb1022a9c2a725770c00a93591397967e4214 (patch)
tree4df170af4d1bc44ca7946c1b4dd795603da0f032 /net-im/nheko
parent986808cbcc063f2b951c3ec851873a6d053a770e (diff)
downloadports-e00fb1022a9c2a725770c00a93591397967e4214.tar.gz
ports-e00fb1022a9c2a725770c00a93591397967e4214.zip
1: Update devel/spdlog to 1.4.2.
2: Fix build issue due spdlog's upgrade. Approved by: danfe@ (www/envoy), adridg@ (net-im/nheko), maintainer timeout (sunpoet@, jhixson@)
Notes
Notes: svn path=/head/; revision=519012
Diffstat (limited to 'net-im/nheko')
-rw-r--r--net-im/nheko/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/net-im/nheko/Makefile b/net-im/nheko/Makefile
index d02db7c18d8f..2b1387de4fc9 100644
--- a/net-im/nheko/Makefile
+++ b/net-im/nheko/Makefile
@@ -3,7 +3,7 @@
PORTNAME= nheko
DISTVERSIONPREFIX=v
DISTVERSION= 0.6.4
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= net-im
MAINTAINER= adridg@FreeBSD.org
@@ -13,8 +13,9 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= nlohmann-json>=3:devel/nlohmann-json \
- spdlog>=1.3:devel/spdlog
+ spdlog>=1.4:devel/spdlog
LIB_DEPENDS= liblmdb.so:databases/lmdb \
+ libfmt.so:devel/libfmt \
libmatrix_client.so:net-im/mtxclient \
libsodium.so:security/libsodium \
libolm.so:security/olm \
@@ -32,6 +33,8 @@ USE_QT= concurrent core dbus declarative gui multimedia network svg widgets \
# in include/. Add one more symlink to the build for that.
CMAKE_ARGS= -DLMDBXX_INCLUDE_DIR=${WRKSRC}/deps/lmdb \
-DTWEENY_INCLUDE_DIR=${WRKSRC}/deps/tweeny
+CFLAGS+= -DSPDLOG_FMT_EXTERNAL=1
+LDFLAGS+= -L${LOCALBASE}/lib -lfmt
USE_GITHUB= yes
GH_ACCOUNT= Nheko-Reborn