summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-02-14 20:54:17 +0000
committernia <nia@pkgsrc.org>2019-02-14 20:54:17 +0000
commit24f77e2fac199b0bd53ee960dec1bc6a7d2eafb4 (patch)
tree09d14f900bf8b131e71b4816c0b1f6e1ae566c6f /emulators
parent74dfb495cef28ed744748481aac4fa519f1cb2ed (diff)
downloadpkgsrc-24f77e2fac199b0bd53ee960dec1bc6a7d2eafb4.tar.gz
emulators/haxm: Set S to ${BSDSRCDIR}/sys.
Allows building with src in a non-default location.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/haxm/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/emulators/haxm/Makefile b/emulators/haxm/Makefile
index f899cd70fba..b307bedbc94 100644
--- a/emulators/haxm/Makefile
+++ b/emulators/haxm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2019/02/13 17:42:57 kamil Exp $
+# $NetBSD: Makefile,v 1.5 2019/02/14 20:54:17 nia Exp $
GITHUB_PROJECT= haxm
GITHUB_TAG= c072ad9b68e1d558a9fb791511468d10a1a9b319
@@ -22,8 +22,12 @@ BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
BUILD_DIRS= platforms/netbsd
+.include "../../mk/bsd.prefs.mk"
+
BUILDLINK_PASSTHRU_DIRS+= ${BSDSRCDIR}/sys
+MAKE_FLAGS+= S=${BSDSRCDIR}/sys
+
BUILD_DEFS+= BSDSRCDIR
.include "../../mk/compiler.mk"