pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/haxm haxm: Add a verbose message if BSDSRCDI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7a651e23658
branches:  trunk
changeset: 391863:c7a651e23658
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sat Feb 16 22:16:08 2019 +0000

description:
haxm: Add a verbose message if BSDSRCDIR/src is missing

The kernel modules require kernel sources.

diffstat:

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

diffs (20 lines):

diff -r 2f5ba2fbf61e -r c7a651e23658 emulators/haxm/Makefile
--- a/emulators/haxm/Makefile   Sat Feb 16 19:39:02 2019 +0000
+++ b/emulators/haxm/Makefile   Sat Feb 16 22:16:08 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2019/02/15 00:49:08 kamil Exp $
+# $NetBSD: Makefile,v 1.8 2019/02/16 22:16:08 kamil Exp $
 
 GITHUB_PROJECT=        haxm
 GITHUB_TAG=    3bdfd1a39021df9b4dfe69e05a277e4e6456494a
@@ -30,6 +30,10 @@
 
 BUILD_DEFS+=   BSDSRCDIR
 
+.if !exists(${BSDSRCDIR}/src)
+PKG_FAIL_REASON+=      "BSDSRCDIR/src specifies non-existing directory ${BSDSRCDIR}/src"
+.endif
+
 .include "../../mk/compiler.mk"
 
 .if !empty(PKGSRC_COMPILER:Mclang)



Home | Main Index | Thread Index | Old Index