pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/haxm



Module Name:    pkgsrc
Committed By:   kamil
Date:           Sat Feb 16 22:16:08 UTC 2019

Modified Files:
        pkgsrc/emulators/haxm: Makefile

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

The kernel modules require kernel sources.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/emulators/haxm/Makefile

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

Modified files:

Index: pkgsrc/emulators/haxm/Makefile
diff -u pkgsrc/emulators/haxm/Makefile:1.7 pkgsrc/emulators/haxm/Makefile:1.8
--- pkgsrc/emulators/haxm/Makefile:1.7  Fri Feb 15 00:49:08 2019
+++ pkgsrc/emulators/haxm/Makefile      Sat Feb 16 22:16:08 2019
@@ -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 @@ MAKE_FLAGS+= S=${BSDSRCDIR}/sys
 
 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