summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-09-06 18:02:30 +0200
committerDavid Seifert <soap@gentoo.org>2020-09-06 18:02:30 +0200
commit30e5ebb27765187c2dc5c8dec8bb1d7a932755c3 (patch)
treefac553f3ecaf9c8f54f9d578d8b79fc178ed36c3 /app-text
parentdev-python/hypothesis: Bump to 5.33.0 (diff)
downloadgentoo-30e5ebb27765187c2dc5c8dec8bb1d7a932755c3.tar.gz
gentoo-30e5ebb27765187c2dc5c8dec8bb1d7a932755c3.tar.bz2
gentoo-30e5ebb27765187c2dc5c8dec8bb1d7a932755c3.zip
app-text/multitail: Port to EAPI 7
Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/multitail/multitail-6.4.2.ebuild27
1 files changed, 13 insertions, 14 deletions
diff --git a/app-text/multitail/multitail-6.4.2.ebuild b/app-text/multitail/multitail-6.4.2.ebuild
index 819fc4d3e724..62d9530afe78 100644
--- a/app-text/multitail/multitail-6.4.2.ebuild
+++ b/app-text/multitail/multitail-6.4.2.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
+
inherit eutils flag-o-matic toolchain-funcs
DESCRIPTION="Tail with multiple windows"
@@ -12,31 +13,29 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="debug examples unicode"
+RESTRICT="test" # bug 492270
+
+RDEPEND="sys-libs/ncurses:0=[unicode?]"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
-RDEPEND="
- sys-libs/ncurses:0=[unicode?]
-"
-DEPEND="
- ${RDEPEND}
- virtual/pkgconfig
-"
-RESTRICT="test" # bug #492270
+PATCHES=( "${FILESDIR}"/${PN}-6.4.1-gentoo.patch )
src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-6.4.1-gentoo.patch
+ default
sed \
- -e "/^DESTDIR/s:=.*$:=${EROOT}:g" \
+ -e "/^DESTDIR/s:=.*$:=${EPREFIX}:g" \
-i Makefile || die
sed \
-e "s:/usr/bin/xclip:${EPREFIX}/usr/bin/xclip:g" \
-i xclip.c ${PN}.conf || die
+}
+src_configure() {
tc-export CC PKG_CONFIG
-
- use debug && append-flags "-D_DEBUG"
+ use debug && append-flags -D_DEBUG
}
src_compile() {