pkgsrc-wip -- http://pkgsrc.org/wip/
/
pkgsrc-wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88de8ef
)
haxm: Enhancements
author
Kamil Rytarowski
<n54@gmx.com>
Wed, 13 Feb 2019 03:35:34 +0000
(
04:35
+0100)
committer
Kamil Rytarowski
<n54@gmx.com>
Wed, 13 Feb 2019 03:35:34 +0000
(
04:35
+0100)
Make this package buildable.
haxm/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/haxm/Makefile
b/haxm/Makefile
index eb0cc551f5efab1e17b42342524de75587d43780..161c88e860468b3690bc68b481661213dede1c00 100644
(file)
--- 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"