diff options
author | sbd <sbd> | 2010-04-10 05:57:40 +0000 |
---|---|---|
committer | sbd <sbd> | 2010-04-10 05:57:40 +0000 |
commit | ba4622ae47000ddb023c3977fc11245971bbe379 (patch) | |
tree | f36d7b5548a8d1b9b17fb22750918677d02e4b17 /emulators/qemu/Makefile | |
parent | 1ba0c233811a4e3247fa589d17c518e514ed549c (diff) | |
download | pkgsrc-ba4622ae47000ddb023c3977fc11245971bbe379.tar.gz |
Use PLIST_VARS for all the qemu _user_ space emulators (plus nbd) and turn
on those that are supported by each opsys. This should make things easier
if more bsd/darwin user space emulators are added.
Bump PKGREVISION.
OK wiz@
Diffstat (limited to 'emulators/qemu/Makefile')
-rw-r--r-- | emulators/qemu/Makefile | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index 9f3a6b06cb0..0e3cd9dc863 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.64 2010/02/27 23:21:13 tnn Exp $ +# $NetBSD: Makefile,v 1.65 2010/04/10 05:57:40 sbd Exp $ # DISTNAME= qemu-0.12.3 +PKGREVISION= 1 CATEGORIES= emulators MASTER_SITES= http://download.savannah.gnu.org/releases/qemu/ @@ -67,6 +68,24 @@ BUILDLINK_PASSTHRU_RPATHDIRS+= /usr/lib INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/doc/qemu +UE_ARCHS+= alpha arm armeb cris i386 m68k microblaze mips mipsel +UE_ARCHS+= nbd ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc32plus +UE_ARCHS+= sparc64 x86_64 + +.if !empty(OPSYS:M*BSD) || !empty(OPSYS:MDragonFly) +USER_EMUL= i386 x86_64 sparc sparc64 +.elif !empty(OPSYS:MDarwin) +USER_EMUL= i386 x86_64 sparc sparc64 ppc +.elif !empty(OPSYS:MLinux) +USER_EMUL= ${UE_ARCHS} +PLIST.nbd= Yes +.endif + +PLIST_VARS+= ${UE_ARCHS} nbd +.for _var_ in ${USER_EMUL} +PLIST.${_var_}= Yes +.endfor + post-install: ${INSTALL_DATA} ${FILESDIR}/Makefile.multinode-NetBSD \ ${DESTDIR}${PREFIX}/share/doc/qemu/ |