summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2022-09-07 12:08:21 +0200
committerSam James <sam@gentoo.org>2022-09-25 02:19:40 +0100
commitadabf845656b45da7d31665a4078ab3adad502d8 (patch)
treeabf139c446797e9e3159b5613c2589ddf1f24c06 /net-irc/ii
parentsys-process/parallel: remove unused patch(es) (diff)
downloadgentoo-adabf845656b45da7d31665a4078ab3adad502d8.tar.gz
gentoo-adabf845656b45da7d31665a4078ab3adad502d8.tar.bz2
gentoo-adabf845656b45da7d31665a4078ab3adad502d8.zip
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 <arkamar@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/27178 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-irc/ii')
-rw-r--r--net-irc/ii/ii-9999.ebuild16
1 files 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
}