git: 3f4163a19113 - main - devel/llvm13: fix install with MLIR disabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Nov 2021 23:51:27 UTC
The branch main has been updated by brooks:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3f4163a191133d25b424dff14a6cde8d89c34e65
commit 3f4163a191133d25b424dff14a6cde8d89c34e65
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2021-11-11 23:50:35 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2021-11-11 23:50:35 +0000
devel/llvm13: fix install with MLIR disabled
PR: 259570 (reported here, but tangential)
Reported by: stephen
---
devel/llvm13/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/devel/llvm13/Makefile b/devel/llvm13/Makefile
index 1cd59bae67e7..1e188371c6cd 100644
--- a/devel/llvm13/Makefile
+++ b/devel/llvm13/Makefile
@@ -537,6 +537,9 @@ post-install-DOCS-on:
.if ! ${PORT_OPTIONS:MLIT}
${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1
${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1
+.endif
+.if ! ${PORT_OPTIONS:MMLIR}
+ ${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/mlir-tblgen.1
.endif
${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/
${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/