git: e91543469143 - main - devel/llvm-devel: Fix plist

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Tue, 08 Aug 2023 14:54:51 UTC
The branch main has been updated by brooks:

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

commit e91543469143ce0fe5f436b22b1afb75e1302e0b
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-08-07 17:56:18 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2023-08-08 14:54:33 +0000

    devel/llvm-devel: Fix plist
    
    Newly added ompx.h was incorreclty tagged as being part of CLANG not
    OPENMP.  This broke systems without OPENMP (all 32-bit systems).
---
 devel/llvm-devel/Makefile  | 2 +-
 devel/llvm-devel/pkg-plist | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile
index 7080c4cdfce5..eaa08f287be7 100644
--- a/devel/llvm-devel/Makefile
+++ b/devel/llvm-devel/Makefile
@@ -292,7 +292,7 @@ LLVM_ENABLE_PROJECTS+=	openmp
 MAN1SRCS+=	${OPENMP_MAN1SRCS}
 COMMANDS+=	${OPENMP_COMMANDS}
 .endif
-OPENMP_PATTERN=	${OPENMP_COMMANDS:tW:C/  */|/g}|cmake\/openmp|libarcher|lib[ig]*omp|omp.h|ompt.h|ompt-multiplex.h|omp-tools.h
+OPENMP_PATTERN=	${OPENMP_COMMANDS:tW:C/  */|/g}|cmake\/openmp|libarcher|lib[ig]*omp|omp.h|ompt.h|ompt-multiplex.h|ompx.h|omp-tools.h
 
 .if ${PORT_OPTIONS:MPOLLY}
 LLVM_ENABLE_PROJECTS+=	polly
diff --git a/devel/llvm-devel/pkg-plist b/devel/llvm-devel/pkg-plist
index 63d6de00b94c..db34236d5d5e 100644
--- a/devel/llvm-devel/pkg-plist
+++ b/devel/llvm-devel/pkg-plist
@@ -5738,7 +5738,7 @@ llvm-devel/include/llvm/XRay/YAMLXRayRecord.h
 %%OPENMP%%llvm-devel/lib/clang/%%LLVM_MAJOR%%/include/omp.h
 %%OPENMP%%llvm-devel/lib/clang/%%LLVM_MAJOR%%/include/ompt-multiplex.h
 %%OPENMP%%llvm-devel/lib/clang/%%LLVM_MAJOR%%/include/ompt.h
-%%CLANG%%llvm-devel/lib/clang/%%LLVM_MAJOR%%/include/ompx.h
+%%OPENMP%%llvm-devel/lib/clang/%%LLVM_MAJOR%%/include/ompx.h
 %%CLANG%%llvm-devel/lib/clang/%%LLVM_MAJOR%%/include/opencl-c-base.h
 %%CLANG%%llvm-devel/lib/clang/%%LLVM_MAJOR%%/include/opencl-c.h
 %%CLANG%%llvm-devel/lib/clang/%%LLVM_MAJOR%%/include/openmp_wrappers/__clang_openmp_device_functions.h