From 3a565ff18f6b2c5614ece807728e9f88e88ee279 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Mon, 8 Nov 2021 16:49:35 +0000 Subject: [PATCH] archivers/c-blosc2: use GCC on powerpc64le for its SSE translation layer to use AltiVec C11 is required by tests. --- archivers/c-blosc2/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/archivers/c-blosc2/Makefile b/archivers/c-blosc2/Makefile index 038186b25c21..6ce38b81dd06 100644 --- a/archivers/c-blosc2/Makefile +++ b/archivers/c-blosc2/Makefile @@ -25,6 +25,13 @@ PLIST_SUB= PORTVERSION=${PORTVERSION} GH_ACCOUNT= Blosc USE_GITHUB= yes +.include + +.if ${ARCH} == powerpc64le +USES+= compiler:gcc-c++11-lib +USE_CSTD= c11 +.endif + do-test: cd ${TEST_WRKSRC} && ctest