From adabf845656b45da7d31665a4078ab3adad502d8 Mon Sep 17 00:00:00 2001 From: Petr Vaněk Date: Wed, 7 Sep 2022 12:08:21 +0200 Subject: net-irc/ii: sync live with upstream MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream removed config.mk recently in commit 36c77931fd89 ("Makefile: simplify and use system flags by default"), therefore, src_prepare is no longer needed. Additional changes: - EAPI update, 7 -> 8 - doublequote full PREFIX and DOCPREFIX paths Signed-off-by: Petr Vaněk Closes: https://github.com/gentoo/gentoo/pull/27178 Signed-off-by: Sam James --- net-irc/ii/ii-9999.ebuild | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'net-irc/ii') diff --git a/net-irc/ii/ii-9999.ebuild b/net-irc/ii/ii-9999.ebuild index 265a788ad43b..2241af190778 100644 --- a/net-irc/ii/ii-9999.ebuild +++ b/net-irc/ii/ii-9999.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + inherit git-r3 toolchain-funcs DESCRIPTION="A minimalist FIFO and filesystem-based IRC client" @@ -11,13 +12,6 @@ EGIT_REPO_URI="https://git.suckless.org/ii" LICENSE="MIT" SLOT="0" -src_prepare() { - default - - sed -i -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \ - -e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' config.mk || die -} - src_compile() { emake CC="$(tc-getCC)" } @@ -25,7 +19,7 @@ src_compile() { src_install() { emake \ DESTDIR="${D}" \ - PREFIX="${EPREFIX}"/usr \ - DOCPREFIX="${EPREFIX}"/usr/share/doc/${PF} \ + PREFIX="${EPREFIX}/usr" \ + DOCPREFIX="${EPREFIX}/usr/share/doc/${PF}" \ install } -- cgit v1.2.3-65-gdbad