git: 4cd278bfd20e - main - devel/fbthrift: Update 2022.11.14.00 -> 2022.11.28.00

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 29 Nov 2022 09:19:36 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4cd278bfd20e3cf95d387ffb911cb99216923ad3

commit 4cd278bfd20e3cf95d387ffb911cb99216923ad3
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-11-29 04:13:56 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-11-29 09:18:45 +0000

    devel/fbthrift: Update 2022.11.14.00 -> 2022.11.28.00
---
 devel/fbthrift/Makefile  | 13 +++++++++----
 devel/fbthrift/distinfo  |  6 +++---
 devel/fbthrift/pkg-plist |  5 ++++-
 3 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/devel/fbthrift/Makefile b/devel/fbthrift/Makefile
index 904e4e6e603d..8b4ecc6d3d66 100644
--- a/devel/fbthrift/Makefile
+++ b/devel/fbthrift/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fbthrift
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2022.11.14.00
+DISTVERSION=	2022.11.28.00
 CATEGORIES=	devel
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -27,16 +27,21 @@ LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
 		libwangle.so:net/wangle \
 		libzstd.so:archivers/zstd
 
-USES=		bison cmake compiler:c++17-lang ssl
+USES=		bison cmake:testing compiler:c++17-lang ssl
+USE_LDCONFIG=	yes
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	facebook
-USE_LDCONFIG=	yes
 
 CMAKE_ON=	BUILD_SHARED_LIBS
+CMAKE_TESTING_ON=	enable_tests
 
 CXXFLAGS+=	-fPIC # https://github.com/facebook/fbthrift/issues/399
 
 post-install: # https://github.com/facebook/fbthrift/issues/393
-	${FIND} ${STAGEDIR}${PREFIX}/include -type d -empty -delete
+	@${FIND} ${STAGEDIR}${PREFIX}/include -type d -empty -delete
+
+do-test: # no 'test' target, contrary to what the documentation says, see https://github.com/facebook/fbthrift/issues/533
+	@cd ${TEST_WRKSRC} && ${MAKE_CMD} test
 
 .include <bsd.port.mk>
diff --git a/devel/fbthrift/distinfo b/devel/fbthrift/distinfo
index 41557edff058..5968487ccdaa 100644
--- a/devel/fbthrift/distinfo
+++ b/devel/fbthrift/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1668572924
-SHA256 (facebook-fbthrift-v2022.11.14.00_GH0.tar.gz) = a786e88cc1e8b36f94391ac2ebf67ae94e91282263f599898ed4a7667b037803
-SIZE (facebook-fbthrift-v2022.11.14.00_GH0.tar.gz) = 11870088
+TIMESTAMP = 1669653130
+SHA256 (facebook-fbthrift-v2022.11.28.00_GH0.tar.gz) = 9a09a3f6f4d516fc1eeea231946f763c0092acb82fb54d5eab46cf346a12d7c3
+SIZE (facebook-fbthrift-v2022.11.28.00_GH0.tar.gz) = 11948495
diff --git a/devel/fbthrift/pkg-plist b/devel/fbthrift/pkg-plist
index 8cc6172ff958..c2d6b2755fb4 100644
--- a/devel/fbthrift/pkg-plist
+++ b/devel/fbthrift/pkg-plist
@@ -320,8 +320,8 @@ include/thrift/lib/cpp2/op/detail/BasePatch.h
 include/thrift/lib/cpp2/op/detail/Clear.h
 include/thrift/lib/cpp2/op/detail/Compare.h
 include/thrift/lib/cpp2/op/detail/ContainerOp.h
-include/thrift/lib/cpp2/op/detail/Copy.h
 include/thrift/lib/cpp2/op/detail/ContainerPatch.h
+include/thrift/lib/cpp2/op/detail/Copy.h
 include/thrift/lib/cpp2/op/detail/Create.h
 include/thrift/lib/cpp2/op/detail/Encode.h
 include/thrift/lib/cpp2/op/detail/Get.h
@@ -463,6 +463,7 @@ include/thrift/lib/cpp2/transport/core/ClientConnectionIf.h
 include/thrift/lib/cpp2/transport/core/EnvelopeUtil.h
 include/thrift/lib/cpp2/transport/core/ManagedConnectionIf.h
 include/thrift/lib/cpp2/transport/core/RequestStateMachine.h
+include/thrift/lib/cpp2/transport/core/RpcMetadataPlugins.h
 include/thrift/lib/cpp2/transport/core/RpcMetadataUtil.h
 include/thrift/lib/cpp2/transport/core/ThriftChannelIf.h
 include/thrift/lib/cpp2/transport/core/ThriftClient.h
@@ -527,6 +528,7 @@ include/thrift/lib/cpp2/type/Any.h
 include/thrift/lib/cpp2/type/AnyValue.h
 include/thrift/lib/cpp2/type/BaseType.h
 include/thrift/lib/cpp2/type/Id.h
+include/thrift/lib/cpp2/type/Json.h
 include/thrift/lib/cpp2/type/Name.h
 include/thrift/lib/cpp2/type/NativeType.h
 include/thrift/lib/cpp2/type/Protocol.h
@@ -541,6 +543,7 @@ include/thrift/lib/cpp2/type/UniversalHashAlgorithm.h
 include/thrift/lib/cpp2/type/UniversalName.h
 include/thrift/lib/cpp2/type/detail/AnyType.h
 include/thrift/lib/cpp2/type/detail/AnyValue.h
+include/thrift/lib/cpp2/type/detail/Json.h
 include/thrift/lib/cpp2/type/detail/Name.h
 include/thrift/lib/cpp2/type/detail/NativeType.h
 include/thrift/lib/cpp2/type/detail/Runtime.h