media-gfx/nsxiv: update 9999 ebuild

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

Signed-off-by: NRK <nrk@disroot.org>
This commit is contained in:
NRK
2023-05-20 23:26:51 +06:00
parent b66c4dbf63
commit cf5521adf1

View File

@@ -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() {