git: 7ee9017a5fc0 - main - devel/grpc: Use devel/xxhash instead of bundled one

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Oct 2022 15:41:23 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7ee9017a5fc00e3fe2af1eb4f2807b1133a4d174

commit 7ee9017a5fc00e3fe2af1eb4f2807b1133a4d174
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-10-09 15:35:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-10-09 15:38:13 +0000

    devel/grpc: Use devel/xxhash instead of bundled one
    
    Do not bump PORTREVISION because they are identical now.
    
    PR:             266577
---
 devel/grpc/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/grpc/Makefile b/devel/grpc/Makefile
index a6d4100ed50a..cd7066ee5e26 100644
--- a/devel/grpc/Makefile
+++ b/devel/grpc/Makefile
@@ -12,6 +12,7 @@ WWW=		https://grpc.io/
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${LOCALBASE}/include/xxhash.h:devel/xxhash
 LIB_DEPENDS=	libabsl_base.so:devel/abseil \
 		libbenchmark.so:devel/benchmark \
 		libcares.so:dns/c-ares \
@@ -60,6 +61,7 @@ post-patch:
 	@${RM} -r ${WRKSRC}/third_party/cares/
 	@${RM} -r ${WRKSRC}/third_party/protobuf/
 	@${RM} -r ${WRKSRC}/third_party/re2/
+	@${RM} -r ${WRKSRC}/third_party/xxhash/
 	@${RM} -r ${WRKSRC}/third_party/zlib/
 
 .include <bsd.port.post.mk>