pkgsrc-WIP-changes archive

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

haxm: pkglint



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Feb 13 05:01:52 2019 +0100
Changeset:	6e5e470c94dce44b45f9ef5759bbc5239ce562e1

Modified Files:
	haxm/Makefile

Log Message:
haxm: pkglint

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6e5e470c94dce44b45f9ef5759bbc5239ce562e1

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

diffstat:
 haxm/Makefile | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diffs:
diff --git a/haxm/Makefile b/haxm/Makefile
index a57d8e1b9f..52a68dbd21 100644
--- a/haxm/Makefile
+++ b/haxm/Makefile
@@ -1,10 +1,10 @@
 # $NetBSD$
 
-GITHUB_PROJECT= haxm
-GITHUB_TAG=     c072ad9b68e1d558a9fb791511468d10a1a9b319
-DISTNAME=       haxm-0.${GITHUB_TAG}
-CATEGORIES=     emulators
-MASTER_SITES=   ${MASTER_SITE_GITHUB:=intel/}
+GITHUB_PROJECT=	haxm
+GITHUB_TAG=	c072ad9b68e1d558a9fb791511468d10a1a9b319
+DISTNAME=	haxm-0.${GITHUB_TAG}
+CATEGORIES=	emulators
+MASTER_SITES=	${MASTER_SITE_GITHUB:=intel/}
 
 MAINTAINER=	kamil%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/intel/haxm/
@@ -18,7 +18,9 @@ OSVERSION_SPECIFIC=	YES
 
 BUILD_DIRS=	platforms/netbsd
 
-BUILDLINK_PASSTHRU_DIRS=	${BSDSRCDIR}/sys
+BUILDLINK_PASSTHRU_DIRS+=	${BSDSRCDIR}/sys
+
+BUILD_DEFS+=	BSDSRCDIR
 
 .include "../../mk/compiler.mk"
 
@@ -31,14 +33,10 @@ 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}
-
-
+		${INSTALL_PROGRAM} ${KMOD} ${DESTDIR}${PREFIX}/${KMODULEDIR}
 
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index