pkgsrc-WIP-changes archive

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

haxm: Enhancements



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Feb 13 04:35:34 2019 +0100
Changeset:	888f0ad4597b13a481be8f87afbbfda0f4abb7a7

Modified Files:
	haxm/Makefile

Log Message:
haxm: Enhancements

Make this package buildable.

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

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

diffstat:
 haxm/Makefile | 11 +++++++++++
 1 file changed, 11 insertions(+)

diffs:
diff --git a/haxm/Makefile b/haxm/Makefile
index eb0cc551f5..161c88e860 100644
--- a/haxm/Makefile
+++ b/haxm/Makefile
@@ -13,6 +13,17 @@ LICENSE=	modified-bsd
 
 WRKSRC=		${WRKDIR}/haxm-${GITHUB_TAG}
 
+ONLY_FOR_PLATFORM=	NetBSD-*-x86_64
 OSVERSION_SPECIFIC=	YES
 
+BUILD_DIRS=	platforms/netbsd
+
+BUILDLINK_PASSTHRU_DIRS=	${BSDSRCDIR}/sys
+
+.include "../../mk/compiler.mk"
+
+.if !empty(PKGSRC_COMPILER:Mclang)
+CFLAGS+=	-Wno-error=address-of-packed-member
+.endif
+
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index