pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/ovmf ovmf: fix package, appease pkglint



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb59a72477ac
branches:  trunk
changeset: 370758:eb59a72477ac
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Oct 23 14:42:45 2017 +0000

description:
ovmf: fix package, appease pkglint

diffstat:

 sysutils/ovmf/Makefile |  22 +++++++++++-----------
 sysutils/ovmf/PLIST    |   4 ++--
 2 files changed, 13 insertions(+), 13 deletions(-)

diffs (54 lines):

diff -r 6fdb20ada00b -r eb59a72477ac sysutils/ovmf/Makefile
--- a/sysutils/ovmf/Makefile    Mon Oct 23 14:23:38 2017 +0000
+++ b/sysutils/ovmf/Makefile    Mon Oct 23 14:42:45 2017 +0000
@@ -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 @@
 
 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 -r 6fdb20ada00b -r eb59a72477ac sysutils/ovmf/PLIST
--- a/sysutils/ovmf/PLIST       Mon Oct 23 14:23:38 2017 +0000
+++ b/sysutils/ovmf/PLIST       Mon Oct 23 14:42:45 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index