git: ada77f4a306c - 2025Q2 - emulators/qemu: fix build of tools on armv7

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Tue, 06 May 2025 18:54:29 UTC
The branch 2025Q2 has been updated by fuz:

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

commit ada77f4a306c7d1bf0b0157db70238a717b21a38
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-05-04 21:41:12 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-05-06 18:54:21 +0000

    emulators/qemu: fix build of tools on armv7
    
    No qemu-plugin.h on this architecture either.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2025Q2
    
    (cherry picked from commit 57a9941d5489b3d1b2c27c867dcbea4230bec8af)
---
 emulators/qemu/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index e409f2655b32..cdf14e8eb0e7 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -220,7 +220,7 @@ X86_TARGETS_CONFIGURE_ON=	--target-list='i386-softmmu i386-bsd-user x86_64-softm
 .include <bsd.port.options.mk>
 
 .if ${FLAVOR:U} == tools || ${FLAVOR:U} == guestagent
-.if ${ARCH} == "i386" || ${ARCH} == "powerpc"
+.if ${ARCH} == "i386" || ${ARCH} == "powerpc" || ${ARCH:Marmv?}
 PLIST_SUB+=	NO_I386="@comment "
 .else
 PLIST_SUB+=	NO_I386=""