commit:     6a0446a9c120634d94f084a285de37f4d9cfb832
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 17 04:10:01 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 04:10:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a0446a9

sys-libs/nss-usrfiles: EAPI 7

Package-Manager: Portage-3.0.12.0.2-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/nss-usrfiles/Manifest                   |  2 +-
 sys-libs/nss-usrfiles/nss-usrfiles-2.18.1.ebuild | 15 +++++++--------
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/sys-libs/nss-usrfiles/Manifest b/sys-libs/nss-usrfiles/Manifest
index 9dc13697f6b..a66cb5b2173 100644
--- a/sys-libs/nss-usrfiles/Manifest
+++ b/sys-libs/nss-usrfiles/Manifest
@@ -1 +1 @@
-DIST nss-altfiles-2.18.1.zip 42369 BLAKE2B 
9ca579cdda60aadb6ca7b153b0797d773b732ae9a3d442ba0020c7542e1f2bd1635989794477c85f855813611414ab3c12bb8d567eddcaa60d49189793f82d19
 SHA512 
d9e2c34ce2518a5310578a2b99a59fc1a8142c252c41e5dab0fd0c07e62ccfa2e3c5d2dd29e179514f3b37537bb0576e2bc3c850f459fa251cd57923438981af
+DIST nss-altfiles-2.18.1.tar.gz 26046 BLAKE2B 
bb60a37c2f9aeffca058a977e782298f5357ce736a9b46abe7c685381bb58260965c3feab32cb9eb64db111a2edace1580a8d083f17b03e68bb15c107d339bed
 SHA512 
21c8d782e12657b07878f2869c79acca09692efe4caf2f5102557e1ecdbd97c0b1245009dccf56642fd827e742531c134e5f53ebe531e458ddd8a21a1aab6377

diff --git a/sys-libs/nss-usrfiles/nss-usrfiles-2.18.1.ebuild 
b/sys-libs/nss-usrfiles/nss-usrfiles-2.18.1.ebuild
index 46c6843878c..c716de9bdf0 100644
--- a/sys-libs/nss-usrfiles/nss-usrfiles-2.18.1.ebuild
+++ b/sys-libs/nss-usrfiles/nss-usrfiles-2.18.1.ebuild
@@ -1,28 +1,27 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
+
+inherit toolchain-funcs
 
 MY_PN="nss-altfiles"
 MY_P="${MY_PN}-${PV}"
 DESCRIPTION="NSS module to read passwd/group files from CoreOS /usr location"
 HOMEPAGE="https://github.com/coreos/nss-altfiles";
-SRC_URI="https://github.com/coreos/${MY_PN}/archive/v${PV}.zip -> ${MY_P}.zip"
+SRC_URI="https://github.com/coreos/${MY_PN}/archive/v${PV}.tar.gz -> 
${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="LGPL-2.1+"
 SLOT="0"
 KEYWORDS="~amd64-linux"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-S="${WORKDIR}/${MY_P}"
 
 src_configure() {
        : # Don't bother with the custom configure script.
 }
 
 src_compile() {
+       tc-export CC
        emake DATADIR=/usr/share/baselayout MODULE_NAME=usrfiles
 }
 

Reply via email to