aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorOlivier Cochard <olivier@FreeBSD.org>2022-09-22 14:52:46 +0000
committerOlivier Cochard <olivier@FreeBSD.org>2022-09-22 14:59:39 +0000
commit65972ee89a762bc4f6e59693c5e6684560eea4fc (patch)
tree3e970b6a14ea4128cca8836b5cd4a42c0863fd4d /net-mgmt
parent41e9e7de7bdd75bfaacaee9978b1d38e17a07617 (diff)
downloadports-65972ee89a762bc4f6e59693c5e6684560eea4fc.tar.gz
ports-65972ee89a762bc4f6e59693c5e6684560eea4fc.zip
net-mgmt/rtrlib: Fix libssh linking
Update PORTREVISION of its consumers (net/frr7 and net/frr8). PR: 266243 Approved by: maintainer timeout
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/rtrlib/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-mgmt/rtrlib/Makefile b/net-mgmt/rtrlib/Makefile
index 073ec91eace3..c8d008116df3 100644
--- a/net-mgmt/rtrlib/Makefile
+++ b/net-mgmt/rtrlib/Makefile
@@ -1,6 +1,7 @@
PORTNAME= rtrlib
PORTVERSION= 0.8.0
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= net-mgmt sysutils
MAINTAINER= freebsd@bodems.net
@@ -12,8 +13,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libssh.so:security/libssh
-USES= cmake
+USES= cmake pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
+CMAKE_ARGS+= -DRTRLIB_TRANSPORT_SSH=Yes
+CMAKE_ARGS+= -DWITH_BGPSEC=Yes
+CMAKE_ARGS+= -DLIBSSH_LIBRARIES=${LOCALBASE}/lib/libssh.so
+CMAKE_ARGS+= -DLIBSSH_INCLUDE_DIRS=${LOCALBASE}/include
+
.include <bsd.port.mk>