From cf5521adf10da683580306ae4142a1b337675cc6 Mon Sep 17 00:00:00 2001 From: NRK Date: Sat, 20 May 2023 23:26:51 +0600 Subject: [PATCH] media-gfx/nsxiv: update 9999 ebuild * update to EAPI 8 * adjust the sed command due to recent upstream change Signed-off-by: NRK --- 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 75c9332a1a..c588aabf64 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() {