commit:     cf5521adf10da683580306ae4142a1b337675cc6
Author:     NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Sat May 20 17:26:51 2023 +0000
Commit:     Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
CommitDate: Sat May 20 17:30:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf5521ad

media-gfx/nsxiv: update 9999 ebuild

* update to EAPI 8
* adjust the sed command due to recent upstream change

Signed-off-by: NRK <nrk <AT> disroot.org>

 media-gfx/nsxiv/nsxiv-9999.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-gfx/nsxiv/nsxiv-9999.ebuild 
b/media-gfx/nsxiv/nsxiv-9999.ebuild
index 75c9332a1..c588aabf6 100644
--- a/media-gfx/nsxiv/nsxiv-9999.ebuild
+++ b/media-gfx/nsxiv/nsxiv-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit desktop xdg-utils savedconfig toolchain-funcs linux-info
 
@@ -43,8 +43,8 @@ src_prepare() {
 }
 
 src_configure() {
-       sed -i -e '/^install: / s|: all|:|' Makefile || die "sed failed"
-       sed -i -e 's|^CFLAGS =|CFLAGS +=|' config.mk || die "sed failed"
+       sed -i -e '/^install: / s|: all|:|' Makefile || die
+       sed -i -e 's|^CFLAGS =|CFLAGS +=|;s|-O2 ||;' config.mk || die
 }
 
 src_compile() {

Reply via email to