aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2021-11-12 17:31:01 +0000
committerBrooks Davis <brooks@FreeBSD.org>2021-11-12 17:31:01 +0000
commita4b2e2d68c299e59e0edad2f066b8913f0773601 (patch)
tree5567d817d69786ea5f04eab8ba6509cf825c8fab
parent7199fa9647da955f378022eb37ec6a6568b80577 (diff)
downloadports-a4b2e2d68c299e59e0edad2f066b8913f0773601.tar.gz
ports-a4b2e2d68c299e59e0edad2f066b8913f0773601.zip
devel/llvm13: fix install with MLIR disabled
PR: 259570 (reported here, but tangential) Reported by: stephen (cherry picked from commit 3f4163a191133d25b424dff14a6cde8d89c34e65)
-rw-r--r--devel/llvm13/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/llvm13/Makefile b/devel/llvm13/Makefile
index 7de7bc6d4ecd..85d670a823ca 100644
--- a/devel/llvm13/Makefile
+++ b/devel/llvm13/Makefile
@@ -538,6 +538,9 @@ post-install-DOCS-on:
${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/