summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-03 21:24:56 +0000
committerSam James <sam@gentoo.org>2021-04-03 21:24:56 +0000
commit0b15dabf022a6dcae73bc4a13cedbe5aca1ef3d4 (patch)
treeaa69c39e11da7e9f43fb4dc68b8db74b272c89d1 /app-misc/nut
parentapp-misc/esekeyd: update EAPI 5 -> 7 (diff)
downloadgentoo-0b15dabf022a6dcae73bc4a13cedbe5aca1ef3d4.tar.gz
gentoo-0b15dabf022a6dcae73bc4a13cedbe5aca1ef3d4.tar.bz2
gentoo-0b15dabf022a6dcae73bc4a13cedbe5aca1ef3d4.zip
app-misc/nut: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/nut')
-rw-r--r--app-misc/nut/nut-20.1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/app-misc/nut/nut-20.1.ebuild b/app-misc/nut/nut-20.1.ebuild
index 3c028aa44a87..bdf69006e68b 100644
--- a/app-misc/nut/nut-20.1.ebuild
+++ b/app-misc/nut/nut-20.1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
+
inherit toolchain-funcs
DESCRIPTION="Record what you eat and analyze your nutrient levels"
@@ -15,7 +16,8 @@ KEYWORDS="~alpha amd64 ~arm ppc x86"
src_compile() {
emake \
CC="$(tc-getCC)" \
- OPT="${CFLAGS}" FOODDIR=\\\"/usr/share/nut\\\" \
+ OPT="${CFLAGS}" \
+ FOODDIR=\\\"/usr/share/nut\\\" \
nut
}