Fix dependencies of net-im/nheko

- because mtxclient was listed as a build dependency only (I thought nheko
   would pick up the .a and statically link it), it would be installed
   with nheko, but marked "automatic" and unused.
 - "pkg autoremove" would remove mtxclient, and then nheko wouldn't start
   because the mtxclient .so was missing.

Make mtxclient a library dependency instead.
This commit is contained in:
Adriaan de Groot 2019-10-25 21:12:21 +00:00
parent 16343010c5
commit 8aafb2ec28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=515664

View File

@ -3,7 +3,7 @@
PORTNAME= nheko
DISTVERSIONPREFIX=v
DISTVERSION= 0.6.4
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= net-im
MAINTAINER= adridg@FreeBSD.org
@ -12,10 +12,10 @@ COMMENT= Matrix IM client based on Qt technologies
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= mtxclient>=0.2.1:net-im/mtxclient \
nlohmann-json>=3:devel/nlohmann-json \
BUILD_DEPENDS= nlohmann-json>=3:devel/nlohmann-json \
spdlog>=1.3:devel/spdlog
LIB_DEPENDS= liblmdb.so:databases/lmdb \
libmatrix_client.so:net-im/mtxclient \
libsodium.so:security/libsodium \
libolm.so:security/olm \
libcmark.so:textproc/cmark