diff options
author | maya <maya@pkgsrc.org> | 2017-10-23 14:42:45 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2017-10-23 14:42:45 +0000 |
commit | 18997664a3de3bcbc2b4ca9f7636b91bd0fd898e (patch) | |
tree | db67875da79f4a3b69b89d8b4f4b662dc40fea93 | |
parent | 6ec107bde50577c44f4971c2205bbcceabd2075f (diff) | |
download | pkgsrc-18997664a3de3bcbc2b4ca9f7636b91bd0fd898e.tar.gz |
ovmf: fix package, appease pkglint
-rw-r--r-- | sysutils/ovmf/Makefile | 22 | ||||
-rw-r--r-- | sysutils/ovmf/PLIST | 4 |
2 files changed, 13 insertions, 13 deletions
diff --git a/sysutils/ovmf/Makefile b/sysutils/ovmf/Makefile index bc17d5aa97a..fea9fbbb6f6 100644 --- a/sysutils/ovmf/Makefile +++ b/sysutils/ovmf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2017/10/23 14:21:57 maya Exp $ +# $NetBSD: Makefile,v 1.2 2017/10/23 14:42:45 maya Exp $ GITHUB_PROJECT= edk2 PKGNAME= OVMF-0.0.2017624 @@ -15,26 +15,26 @@ LICENSE= modified-bsd WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG} -USETOOLS+= gmake bash +USE_TOOLS+= gmake bash USE_LANGUAGES= c c++ PYTHON_VERSIONS_ACCEPTED= 27 -SUBST_CLASSES+= python -SUBST_STAGE.python= pre-configure -SUBST_MESSAGE.python= Fix python binary -SUBST_FILES.python= BaseTools/Tests/GNUmakefile -SUBST_FILES.python+= BaseTools/BinWrappers/PosixLike/* -SUBST_SED.python= -e 's,python2,${PYTHONBIN},g' +SUBST_CLASSES+= python +SUBST_STAGE.python= pre-configure +SUBST_MESSAGE.python= Fix python binary +SUBST_FILES.python= BaseTools/Tests/GNUmakefile +SUBST_FILES.python+= BaseTools/BinWrappers/PosixLike/* +SUBST_SED.python= -e 's,python2,${PYTHONBIN},g' PKGSRC_USE_SSP= no do-build: cd ${WRKSRC}/OvmfPkg && \ - export MAKE=gmake && \ - ${MAKE_BUILD_ENV} ./build.sh + ${SETENV} ${MAKE_ENV} ./build.sh +INSTALLATION_DIRS+= share do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/Build/Ovmf*/*/FV/OVMF.fd ${DESTDIR}${PREFIX}/share + ${INSTALL_PROGRAM} ${WRKSRC}/Build/Ovmf*/*/FV/OVMF.fd ${DESTDIR}${PREFIX}/share/OVMF.fd BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm diff --git a/sysutils/ovmf/PLIST b/sysutils/ovmf/PLIST index 290112cf5bf..c1c70410f7d 100644 --- a/sysutils/ovmf/PLIST +++ b/sysutils/ovmf/PLIST @@ -1,2 +1,2 @@ -@comment $NetBSD: PLIST,v 1.1 2017/10/23 14:21:57 maya Exp $ -share +@comment $NetBSD: PLIST,v 1.2 2017/10/23 14:42:45 maya Exp $ +share/OVMF.fd |