emulators/qemu-devel: fix build on powerpc64*

This forward ports 0d01a77b1ff0377c47919c3982d161e7546d34f.
This commit is contained in:
Piotr Kubaj 2022-08-29 07:36:26 +02:00
parent 45945819d9
commit 1c7b941ef3
2 changed files with 9 additions and 5 deletions

View File

@ -130,8 +130,12 @@ MAKE_ARGS+= ARCH=ppc
USE_GCC= yes
.endif
.if ${ARCH} == "powerpc64"
.if ${ARCH:Mpowerpc64*}
CONFIGURE_ARGS+= --disable-bsd-user
MAKE_ARGS+= ARCH=ppc64
PLIST_SUB+= BSDUSER="@comment "
.else
PLIST_SUB+= BSDUSER=""
.endif
.if ${ARCH} == "sparc64"

View File

@ -1,7 +1,7 @@
bin/elf2dmp
bin/qemu-arm
%%BSDUSER%%bin/qemu-arm
bin/qemu-edid
bin/qemu-i386
%%BSDUSER%%bin/qemu-i386
bin/qemu-img
bin/qemu-io
%%GTK3%%bin/qemu-keymap
@ -35,10 +35,10 @@ bin/qemu-system-i386
%%NO_X86_TARGETS%%bin/qemu-system-sparc
%%NO_X86_TARGETS%%bin/qemu-system-sparc64
%%NO_X86_TARGETS%%bin/qemu-system-tricore
bin/qemu-system-x86_64
%%BSDUSER%%bin/qemu-system-x86_64
%%NO_X86_TARGETS%%bin/qemu-system-xtensa
%%NO_X86_TARGETS%%bin/qemu-system-xtensaeb
bin/qemu-x86_64
%%BSDUSER%%bin/qemu-x86_64
include/qemu-plugin.h
man/man1/qemu.1.gz
man/man1/qemu-img.1.gz