git: a5c3cb094490 - main - devel/llvm19: address a couple plist nits

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Wed, 07 Oct 2026 17:18:57 UTC
The branch main has been updated by brooks:

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

commit a5c3cb09449001bc9b45aa1343f9d691ef57dc2e
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2026-10-06 14:11:31 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2026-10-07 17:17:23 +0000

    devel/llvm19: address a couple plist nits
    
    Remove stray _sources directories.
    
    PR:             298493
---
 devel/llvm19/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/llvm19/Makefile b/devel/llvm19/Makefile
index e3ad69319bdd..ef3b244d95d5 100644
--- a/devel/llvm19/Makefile
+++ b/devel/llvm19/Makefile
@@ -528,6 +528,9 @@ post-install-DOCS-on:
 	${MV} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/${_man} \
 	    ${STAGEDIR}${PREFIX}/share/man/man1/${_man:R}${LLVM_SUFFIX}.1
 .endfor
+.if ${PORT_OPTIONS:MFLANG}
+	${RMDIR} ${STAGEDIR}${DOCSDIR}/flang/html/_sources
+.endif
 .if ! ${PORT_OPTIONS:MLIT}
 	${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/lit.1
 	${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/FileCheck.1
@@ -537,6 +540,9 @@ post-install-DOCS-on:
 .endif
 .if ! ${PORT_OPTIONS:MMLIR}
 	${RM} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/mlir-tblgen.1
+.endif
+.if ${PORT_OPTIONS:MOPENMP}
+	${RMDIR} ${STAGEDIR}${DOCSDIR}/openmp/html/_sources
 .endif
 	${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/
 	${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/