git: 72d1c5182667 - main - archivers/c-blosc2: fix build on powerpc64

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Tue, 24 May 2022 22:07:04 UTC
The branch main has been updated by pkubaj:

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

commit 72d1c5182667f5c933f3c3ce7527229fe3d9c327
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-05-24 21:55:20 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-05-24 21:55:20 +0000

    archivers/c-blosc2: fix build on powerpc64
    
    /usr/bin/cc -DBLOSC_SHARED_LIBRARY -DUSING_CMAKE -Dblosc2_shared_EXPORTS -I/wrkdirs/usr/ports/archivers/c-blosc2/work/.build/blosc -I/wrkdirs/usr/ports/archivers/c-blosc2/work/c-blosc2-2.1.1/include -I/wrkdirs/usr/ports/archivers/c-blosc2/work/c-blosc2-2.1.1/plugins/codecs/zfp/include -I/wrkdirs/usr/ports/archivers/c-blosc2/work/c-blosc2-2.1.1/blosc -I/usr/local/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu99 -D_XOPEN_SOURCE=600 -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -Wall -Wextra -pthread -MD -MT blosc/CMakeFiles/blosc2_shared.dir/__/plugins/codecs/zfp/blosc2-zfp.c.o -MF blosc/CMakeFiles/blosc2_shared.dir/__/plugins/codecs/zfp/blosc2-zfp.c.o.d -o blosc/CMakeFiles/blosc2_shared.dir/__/plugins/codecs/zfp/blosc2-zfp.c.o -c /wrkdirs/usr/ports/archivers/c-blosc2/work/c-blosc2-2.1.1/plugins/codecs/zfp/blosc2-zfp.c
    PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
    Stack dump:
    0.      Program arguments: /usr/bin/cc -DBLOSC_SHARED_LIBRARY -DUSING_CMAKE -Dblosc2_shared_EXPORTS -I/wrkdirs/usr/ports/archivers/c-blosc2/work/.build/blosc -I/wrkdirs/usr/ports/archivers/c-blosc2/work/c-blosc2-2.1.1/include -I/wrkdirs/usr/ports/archivers/c-blosc2/work/c-blosc2-2.1.1/plugins/codecs/zfp/include -I/wrkdirs/usr/ports/archivers/c-blosc2/work/c-blosc2-2.1.1/blosc -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu99 -D_XOPEN_SOURCE=600 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility=hidden -Wall -Wextra -pthread -MD -MT blosc/CMakeFiles/blosc2_shared.dir/__/plugins/codecs/zfp/blosc2-zfp.c.o -MF blosc/CMakeFiles/blosc2_shared.dir/__/plugins/codecs/zfp/blosc2-zfp.c.o.d -o blosc/CMakeFiles/blosc2_shared.dir/__/plugins/codecs/zfp/blosc2-zfp.c.o -c /wrkdirs/usr/ports/archivers/c-blosc2/work/c-blosc2-2.1.1/plugins/codecs/zfp/blosc2-zfp.c
    1.      <eof> parser at end of file
    2.      Optimizer
    cc: error: clang frontend command failed with exit code 138 (use -v to see invocation)
    FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
    Target: powerpc64-unknown-freebsd13.1
---
 archivers/c-blosc2/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/archivers/c-blosc2/Makefile b/archivers/c-blosc2/Makefile
index 213c12e30b4b..c83d0b4407df 100644
--- a/archivers/c-blosc2/Makefile
+++ b/archivers/c-blosc2/Makefile
@@ -27,7 +27,7 @@ USE_GITHUB=	yes
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == powerpc64le
+.if ${ARCH:Mpowerpc64*}
 USES+=		compiler:gcc-c++11-lib
 USE_CSTD=	c11
 .endif