git: 42557c24f97d - main - devel/spirv-llvm-translator: unbreak build after 30e46ca60676
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Mar 2024 16:09:20 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=42557c24f97d1feba68313e26af30adcc8942f8e
commit 42557c24f97d1feba68313e26af30adcc8942f8e
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-03-08 15:52:02 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-03-08 16:08:57 +0000
devel/spirv-llvm-translator: unbreak build after 30e46ca60676
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: llvm18/lib/libLLVMSPIRVLib.so.18.1
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: llvm18/lib/libLLVMSPIRVLib.so.18
===> Error: Plist issues found.
*** Error code 1
Reported by: pkg-fallout
---
devel/spirv-llvm-translator/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/devel/spirv-llvm-translator/Makefile b/devel/spirv-llvm-translator/Makefile
index 8455679d9213..8b27dcbe78cf 100644
--- a/devel/spirv-llvm-translator/Makefile
+++ b/devel/spirv-llvm-translator/Makefile
@@ -45,9 +45,10 @@ _PLIST_FILES= bin/llvm-spirv \
include/LLVMSPIRVLib/LLVMSPIRVLib.h \
include/LLVMSPIRVLib/LLVMSPIRVOpts.h \
lib/libLLVMSPIRVLib.so \
- lib/libLLVMSPIRVLib.so.${DISTVERSION:R:R} \
+ lib/libLLVMSPIRVLib.so.${SOVERSION} \
libdata/pkgconfig/LLVMSPIRVLib.pc
PLIST_FILES= ${_PLIST_FILES:S,^,${FLAVOR}/,}
+SOVERSION= ${${FLAVOR:S/llvm//}<18:?${DISTVERSION:R:R}:${DISTVERSION:R}}
post-patch:
@${REINPLACE_CMD} -e '/pkgconfig/s/lib/&data/' \