From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 158F3158095 for ; Sun, 25 Sep 2022 01:21:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 465BFE0B67; Sun, 25 Sep 2022 01:21:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B751E0B73 for ; Sun, 25 Sep 2022 01:21:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 49888340E9D for ; Sun, 25 Sep 2022 01:21:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0F815EB for ; Sun, 25 Sep 2022 01:21:15 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1664068780.adabf845656b45da7d31665a4078ab3adad502d8.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/ii/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/ii/ii-9999.ebuild X-VCS-Directories: net-irc/ii/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: adabf845656b45da7d31665a4078ab3adad502d8 X-VCS-Branch: master Date: Sun, 25 Sep 2022 01:21:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1fcad4f5-a55d-417f-8f73-7be1ad770bc3 X-Archives-Hash: 0f7fedd858c8e1058dace0cd9ac4f9d9 commit: adabf845656b45da7d31665a4078ab3adad502d8 Author: Petr Vaněk atlas cz> AuthorDate: Wed Sep 7 10:08:21 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Sep 25 01:19:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adabf845 net-irc/ii: sync live with upstream 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 atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/27178 Signed-off-by: Sam James gentoo.org> net-irc/ii/ii-9999.ebuild | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) 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 }