git: 7e20da3e0a50 - main - emulators/qemu: Fix stage-qa with sphinx 9.0.4

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Fri, 26 Jun 2026 17:26:03 UTC
The branch main has been updated by makc:

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

commit 7e20da3e0a50106d9367e3b99017c9e298ae48c9
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2026-06-26 17:23:11 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2026-06-26 17:23:11 +0000

    emulators/qemu: Fix stage-qa with sphinx 9.0.4
    
    PR:             284845
---
 emulators/qemu/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index ead316c646d2..e8c4949a60d8 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -277,6 +277,7 @@ post-install:
 
 post-install-DOCS-on:
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/)
+	@${RMDIR} ${STAGEDIR}${DOCSDIR}/_sources
 .endif
 
 .include <bsd.port.mk>