pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/haxm emulators/haxm: Set S to ${BSDSRCDIR}/sys.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4546840e7cfc
branches:  trunk
changeset: 329784:4546840e7cfc
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Feb 14 20:54:17 2019 +0000

description:
emulators/haxm: Set S to ${BSDSRCDIR}/sys.

Allows building with src in a non-default location.

diffstat:

 emulators/haxm/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r bdf543c575a4 -r 4546840e7cfc emulators/haxm/Makefile
--- a/emulators/haxm/Makefile   Thu Feb 14 18:47:53 2019 +0000
+++ b/emulators/haxm/Makefile   Thu Feb 14 20:54:17 2019 +0000
@@ -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_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"



Home | Main Index | Thread Index | Old Index