Move include/qemu-plugin.h to a PFRAG, only included on LLD arches,
should resolve build issue on mips64/sparc64. From Brad.
This commit is contained in:
parent
50e44f1dce
commit
3bc8c5b9b1
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.214 2021/09/04 20:25:22 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.215 2021/09/18 11:06:40 sthen Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= aarch64 amd64 arm i386 powerpc powerpc64 riscv64 sparc64
|
||||
DPB_PROPERTIES= parallel
|
||||
@ -14,6 +14,8 @@ CATEGORIES= emulators
|
||||
MASTER_SITES= https://download.qemu.org/
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
|
||||
REVISION-main= 0
|
||||
|
||||
HOMEPAGE= https://www.qemu.org/
|
||||
|
||||
MAINTAINER= Brad Smith <brad@comstyle.com>
|
||||
@ -115,6 +117,15 @@ TEST_TARGET= check
|
||||
CFLAGS+= -O0
|
||||
.endif
|
||||
|
||||
.include <bsd.port.arch.mk>
|
||||
|
||||
# Only lld has --dynamic-list
|
||||
.if ${PROPERTIES:Mlld}
|
||||
PKG_ARGS+= -Dplugins=1
|
||||
.else
|
||||
PKG_ARGS+= -Dplugins=0
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/qemu
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup \
|
||||
|
2
emulators/qemu/pkg/PFRAG.plugins-main
Normal file
2
emulators/qemu/pkg/PFRAG.plugins-main
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.plugins-main,v 1.1 2021/09/18 11:06:41 sthen Exp $
|
||||
include/qemu-plugin.h
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.4 2021/09/03 23:04:49 sthen Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.5 2021/09/18 11:06:41 sthen Exp $
|
||||
@pkgpath emulators/qemu
|
||||
@bin bin/elf2dmp
|
||||
@bin bin/qemu-edid
|
||||
@ -37,7 +37,7 @@
|
||||
@bin bin/qemu-system-x86_64
|
||||
@bin bin/qemu-system-xtensa
|
||||
@bin bin/qemu-system-xtensaeb
|
||||
include/qemu-plugin.h
|
||||
%%plugins%%
|
||||
@man man/man1/qemu-img.1
|
||||
@man man/man1/qemu-storage-daemon.1
|
||||
@man man/man1/qemu.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user