git: d1243a545f5b - main - net/bctoolbox: Add test component
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 15 Jun 2022 16:41:49 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d1243a545f5b917ecba3784baa4bbd6bc994c31e
commit d1243a545f5b917ecba3784baa4bbd6bc994c31e
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-06-15 16:40:55 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-06-15 16:40:55 +0000
net/bctoolbox: Add test component
- These are required for newer textproc/belr
---
net/bctoolbox/Makefile | 6 ++++--
net/bctoolbox/pkg-plist | 4 ++++
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/net/bctoolbox/Makefile b/net/bctoolbox/Makefile
index 2c95f69fe655..287d2973c0c8 100644
--- a/net/bctoolbox/Makefile
+++ b/net/bctoolbox/Makefile
@@ -1,5 +1,6 @@
PORTNAME= bctoolbox
PORTVERSION= 5.1.38
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= https://gitlab.linphone.org/BC/public/${PORTNAME}/-/archive/${PORTVERSION}/
@@ -10,13 +11,14 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= mbedtls>=2.3.0_2:security/mbedtls
-LIB_DEPENDS= libmbedtls.so:security/mbedtls
+LIB_DEPENDS= libbcunit.so:devel/bcunit \
+ libmbedtls.so:security/mbedtls
USES= cmake compiler:c++11-lib
USE_LDCONFIG= yes
CMAKE_ARGS= -DENABLE_STATIC=NO -DENABLE_STRICT=NO \
- -DENABLE_TESTS_COMPONENT=NO \
+ -DCMAKE_PREFIX_PATH=${LOCALBASE} \
-DCMAKE_SKIP_INSTALL_RPATH=ON
CFLAGS+= -DHAVE_ARC4RANDOM
diff --git a/net/bctoolbox/pkg-plist b/net/bctoolbox/pkg-plist
index 72006894e77f..295b3edfd659 100644
--- a/net/bctoolbox/pkg-plist
+++ b/net/bctoolbox/pkg-plist
@@ -11,6 +11,7 @@ include/bctoolbox/param_string.h
include/bctoolbox/parser.h
include/bctoolbox/port.h
include/bctoolbox/regex.h
+include/bctoolbox/tester.h
include/bctoolbox/utils.hh
include/bctoolbox/vconnect.h
include/bctoolbox/vfs.h
@@ -18,7 +19,10 @@ include/bctoolbox/vfs_encrypted.hh
include/bctoolbox/vfs_standard.h
lib/libbctoolbox.so
lib/libbctoolbox.so.1
+lib/libbctoolbox-tester.so
+lib/libbctoolbox-tester.so.1
libdata/pkgconfig/bctoolbox.pc
+libdata/pkgconfig/bctoolbox-tester.pc
%%DATADIR%%/cmake/ConfigureSpecfile.cmake
%%DATADIR%%/cmake/MakeArchive.cmake
%%DATADIR%%/cmake/bctoolboxCMakeUtils.cmake