pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

qemu-haxm: pkglint



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Mon Jan 28 13:23:59 2019 +0100
Changeset:	9d91f3677ef824f262bf6267614a614ff8ad80a0

Modified Files:
	qemu-haxm/Makefile
	qemu-haxm/options.mk

Log Message:
qemu-haxm: pkglint

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9d91f3677ef824f262bf6267614a614ff8ad80a0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 qemu-haxm/Makefile   | 13 +++++++------
 qemu-haxm/options.mk |  2 +-
 2 files changed, 8 insertions(+), 7 deletions(-)

diffs:
diff --git a/qemu-haxm/Makefile b/qemu-haxm/Makefile
index 060fbb9b4c..fcbb07a3d8 100644
--- a/qemu-haxm/Makefile
+++ b/qemu-haxm/Makefile
@@ -90,14 +90,14 @@ UE_ARCHS+=		sparc64 x86_64 microblazeel s390x unicore32
 .if ${OPSYS} == "NetBSD"
 USER_EMUL=		i386 x86_64 sparc sparc64
 PLIST.nbd=		YES
-.elif !empty(OPSYS:M*BSD) || !empty(OPSYS:MDragonFly)
+.elif !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly"
 USER_EMUL=		i386 x86_64 sparc sparc64
 PLIST.nbd=		YES
-.elif !empty(OPSYS:MDarwin)
+.elif ${OPSYS} == "Darwin"
 USER_EMUL=
 CONFIGURE_ARGS+=	--disable-bsd-user
 PLIST.nbd=		YES
-.elif !empty(OPSYS:MLinux)
+.elif ${OPSYS} == "Linux"
 USER_EMUL=		${UE_ARCHS}
 PLIST.nbd=		YES
 PLIST.ivshmem=		YES
@@ -107,8 +107,8 @@ CONFIGURE_ARGS+=	--disable-coroutine-pool
 .endif
 
 PLIST_VARS+=		${UE_ARCHS} nbd ivshmem
-.for _var_ in ${USER_EMUL}
-PLIST.${_var_}=		YES
+.for var in ${USER_EMUL}
+PLIST.${var}=		YES
 .endfor
 
 TEST_TARGET=		check
@@ -120,7 +120,7 @@ post-install:
 .include "../../wip/mk/git-package.mk"
 
 # On Darwin, qemu uses Cocoa and CoreAudio
-.if empty(OPSYS:MDarwin)
+.if ${OPSYS} == "Darwin"
 .include "../../mk/oss.buildlink3.mk"
 .endif
 .include "../../archivers/lzo/buildlink3.mk"
@@ -129,6 +129,7 @@ post-install:
 .include "../../devel/snappy/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../lang/python/extension.mk"
 .include "../../security/libgcrypt/buildlink3.mk"
 .include "../../www/curl/buildlink3.mk"
diff --git a/qemu-haxm/options.mk b/qemu-haxm/options.mk
index 82375b0ec3..bfb0ee84b9 100644
--- a/qemu-haxm/options.mk
+++ b/qemu-haxm/options.mk
@@ -5,7 +5,7 @@ PKG_SUPPORTED_OPTIONS=	gtk3 sdl
 
 .include "../../mk/bsd.fast.prefs.mk"
 
-.if empty(OPSYS:MDarwin)
+.if ${OPSYS} == "Darwin"
 PKG_SUGGESTED_OPTIONS+=	sdl
 .endif
 


Home | Main Index | Thread Index | Old Index