git: ea79bcadf65c - main - devel/abseil: Hide grep warning with make -V PLIST_SUB

From: Bryan Drewery <bdrewery_at_FreeBSD.org>
Date: Tue, 27 Feb 2024 22:51:39 UTC
The branch main has been updated by bdrewery:

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

commit ea79bcadf65c06d69959d8d6c21c28d11b4b3ac8
Author:     Bryan Drewery <bdrewery@FreeBSD.org>
AuthorDate: 2024-02-27 22:51:11 +0000
Commit:     Bryan Drewery <bdrewery@FreeBSD.org>
CommitDate: 2024-02-27 22:51:23 +0000

    devel/abseil: Hide grep warning with make -V PLIST_SUB
---
 devel/abseil/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/abseil/Makefile b/devel/abseil/Makefile
index d81294ae0bbf..427f8bd15c48 100644
--- a/devel/abseil/Makefile
+++ b/devel/abseil/Makefile
@@ -15,7 +15,7 @@ GH_PROJECT=	${PORTNAME}-cpp
 CMAKE_ARGS=	-DBUILD_SHARED_LIBS:BOOL=ON \
 		-DCMAKE_CXX_STANDARD=17 # force the same highest C++ standard because of ABI differences: see https://github.com/abseil/abseil-cpp/issues/819
 
-_GET_SOVER=	${GREP} SOVERSION ${WRKSRC}/CMake/AbseilHelpers.cmake \
+_GET_SOVER=	${GREP} SOVERSION ${WRKSRC}/CMake/AbseilHelpers.cmake 2>/dev/null \
 		| ${CUT} -d\" -f2
 PLIST_SUB+=	LIBSUFX=${_GET_SOVER:sh}