git: 11b37b11d6b4 - 2024Q1 - devel/abseil: Hide grep warning with make -V PLIST_SUB

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

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

commit 11b37b11d6b4701a556573386a8fef45872051a0
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:55:08 +0000

    devel/abseil: Hide grep warning with make -V PLIST_SUB
    
    (cherry picked from commit ea79bcadf65c06d69959d8d6c21c28d11b4b3ac8)
---
 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}