summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2019-02-15 00:49:08 +0000
committerkamil <kamil@pkgsrc.org>2019-02-15 00:49:08 +0000
commit12c9d0ef212b33d090cc113cb014af05bc7b17e3 (patch)
tree8fd926b7b6936f835e61b8618cd8d546f35ded1b
parent91be7d13f85e7db154ffddfa4a41d5c53aac8941 (diff)
downloadpkgsrc-12c9d0ef212b33d090cc113cb014af05bc7b17e3.tar.gz
haxm: align KMODULEDIR to the style of base modules
Install haxm.kmod into a subdir haxm. Bump PKGREVISION.
-rw-r--r--emulators/haxm/Makefile6
-rw-r--r--emulators/haxm/PLIST4
-rw-r--r--emulators/haxm/files/haxm-modload.in2
3 files changed, 7 insertions, 5 deletions
diff --git a/emulators/haxm/Makefile b/emulators/haxm/Makefile
index 22e25aa529a..4f1288ea033 100644
--- a/emulators/haxm/Makefile
+++ b/emulators/haxm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2019/02/14 23:17:55 kamil Exp $
+# $NetBSD: Makefile,v 1.7 2019/02/15 00:49:08 kamil Exp $
GITHUB_PROJECT= haxm
GITHUB_TAG= 3bdfd1a39021df9b4dfe69e05a277e4e6456494a
@@ -6,6 +6,8 @@ DISTNAME= haxm-1.20190214.${GITHUB_TAG}
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=intel/}
+PKGREVISION= 1
+
MAINTAINER= kamil@NetBSD.org
HOMEPAGE= https://github.com/intel/haxm/
COMMENT= Intel Hardware Accelerated Execution Manager
@@ -35,7 +37,7 @@ CFLAGS+= -Wno-error=address-of-packed-member
.endif
KMOD= haxm.kmod
-KMODULEDIR= stand/${MACHINE}/${OS_VERSION}/modules
+KMODULEDIR= stand/${MACHINE}/${OS_VERSION}/modules/haxm
INSTALLATION_DIRS+= sbin # auxiliary scripts
INSTALLATION_DIRS+= ${KMODULEDIR}
diff --git a/emulators/haxm/PLIST b/emulators/haxm/PLIST
index 1c5ebf664d9..60aa93eae39 100644
--- a/emulators/haxm/PLIST
+++ b/emulators/haxm/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2019/02/13 05:20:15 kamil Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/02/15 00:49:08 kamil Exp $
sbin/haxm-mknod
sbin/haxm-modload
sbin/haxm-modunload
-stand/${MACHINE}/${OS_VERSION}/modules/haxm.kmod
+stand/${MACHINE}/${OS_VERSION}/modules/haxm/haxm.kmod
diff --git a/emulators/haxm/files/haxm-modload.in b/emulators/haxm/files/haxm-modload.in
index 617c9ded992..d2e183fd8b9 100644
--- a/emulators/haxm/files/haxm-modload.in
+++ b/emulators/haxm/files/haxm-modload.in
@@ -1,3 +1,3 @@
#!/bin/sh
-modload @PREFIX@/stand/@MACHINE@/@OS_VERSION@/modules/haxm.kmod
+modload @PREFIX@/stand/@MACHINE@/@OS_VERSION@/modules/haxm/haxm.kmod