pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
haxm: Make it installable
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Wed Feb 13 04:51:11 2019 +0100
Changeset: 4ae5beda0f75aeebb71d8bc02f5471c769519bd4
Modified Files:
haxm/Makefile
haxm/PLIST
Log Message:
haxm: Make it installable
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4ae5beda0f75aeebb71d8bc02f5471c769519bd4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
haxm/Makefile | 15 +++++++++++++++
haxm/PLIST | 1 +
2 files changed, 16 insertions(+)
diffs:
diff --git a/haxm/Makefile b/haxm/Makefile
index 161c88e860..a57d8e1b9f 100644
--- a/haxm/Makefile
+++ b/haxm/Makefile
@@ -26,4 +26,19 @@ BUILDLINK_PASSTHRU_DIRS= ${BSDSRCDIR}/sys
CFLAGS+= -Wno-error=address-of-packed-member
.endif
+KMOD= haxm.kmod
+KMODULEDIR= stand/${MACHINE}/${OS_VERSION}/modules
+
+INSTALLATION_DIRS+= ${KMODULEDIR}
+
+MACHINE= amd64
+
+PLIST_SUBST+= MACHINE=${MACHINE}
+
+do-install:
+ ${RUN} cd ${WRKSRC}/platforms/netbsd && \
+ ${CP} ${KMOD} ${DESTDIR}${PREFIX}/${KMODULEDIR}
+
+
+
.include "../../mk/bsd.pkg.mk"
diff --git a/haxm/PLIST b/haxm/PLIST
index 48d96a5493..6fd1c8c5d7 100644
--- a/haxm/PLIST
+++ b/haxm/PLIST
@@ -1 +1,2 @@
@comment $NetBSD$
+stand/${MACHINE}/${OS_VERSION}/modules/haxm.kmod
Home |
Main Index |
Thread Index |
Old Index