git: 3abc76f95bfe - main - graphics/opencv: return to clang on CPUTYPE=power9

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 26 Jul 2023 17:23:41 UTC
The branch main has been updated by pkubaj:

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

commit 3abc76f95bfe0892abc4fc7a204580bb2df01315
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-07-26 15:29:20 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-07-26 17:23:40 +0000

    graphics/opencv: return to clang on CPUTYPE=power9
    
    Clang bug fixed in main 881fc203567e85648f2f591a75c4674be2bee0ed.
---
 graphics/opencv/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
index d2cf3c0209fd..e964b37ccd2b 100644
--- a/graphics/opencv/Makefile
+++ b/graphics/opencv/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS=	libfreetype.so:print/freetype2 \
 		libharfbuzz.so:print/harfbuzz \
 		libhdf5.so:science/hdf5
 
-USES=		cmake cpe localbase:ldflags pkgconfig
+USES=		cmake compiler:c++14-lang cpe localbase:ldflags pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	WeChatCV:wechat
 GH_PROJECT=	opencv_contrib:contrib \
@@ -218,9 +218,6 @@ _IPPICV_amd64=		ippicv/ippicv_2020_lnx_intel64_20191018_general.tgz
 
 .if ${ARCH} == powerpc64le && defined(MACHINE_CPU) && ${MACHINE_CPU:Mvsx3}
 CMAKE_ARGS+=		-DCPU_BASELINE:STRING="VSX;VSX3;"
-USES+=			compiler:gcc-c++11-lib
-.else
-USES+=			compiler:c++14-lang
 .endif
 
 post-extract: