Index: emulators/qemu/Makefile =================================================================== RCS file: /cvsroot/pkgsrc/emulators/qemu/Makefile,v retrieving revision 1.75 diff -u -p -r1.75 Makefile --- emulators/qemu/Makefile 9 Nov 2010 10:37:12 -0000 1.75 +++ emulators/qemu/Makefile 20 Nov 2010 09:31:58 -0000 @@ -73,7 +73,20 @@ UE_ARCHS+= alpha arm armeb cris i386 m6 UE_ARCHS+= ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus UE_ARCHS+= sparc64 x86_64 -.if !empty(OPSYS:M*BSD) || !empty(OPSYS:MDragonFly) +.if ${OPSYS} == "NetBSD" +.if (!empty(OS_VERSION:M5.99.*) || !empty(OS_VERSION:M[6-9].*)) +# XXX +# i386 and x86_64 usermode emul require newer binutils for PROVIDE_HIDDEN() +# http://git.qemu.org/qemu.git/commit/?id=845f2c2812d9ed24b36c02a3d06ee83aeafe8b49 +# but binutils-2.19 was enabled around 5.99.22: +# http://cvsweb.NetBSD.org/bsdweb.cgi/src/share/mk/bsd.own.mk#rev1.594 +USER_EMUL= i386 x86_64 sparc sparc64 +.else +CONFIGURE_ARGS+= --disable-bsd-user +USER_EMUL= +.endif +PLIST.nbd= YES +.elif !empty(OPSYS:M*BSD) || !empty(OPSYS:MDragonFly) USER_EMUL= i386 x86_64 sparc sparc64 PLIST.nbd= YES .elif !empty(OPSYS:MDarwin)