diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2020-12-28 15:15:36 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-12-28 15:15:36 +0100 |
commit | f1084565b1548a1cc7d9980c14a9fad582cba90a (patch) | |
tree | fbecb98d2598edc247882d8a6672d965af95c72f /dev-util/dwdiff | |
parent | dev-embedded/openocd: Sync live ebuild (diff) | |
download | gentoo-f1084565b1548a1cc7d9980c14a9fad582cba90a.tar.gz gentoo-f1084565b1548a1cc7d9980c14a9fad582cba90a.tar.bz2 gentoo-f1084565b1548a1cc7d9980c14a9fad582cba90a.zip |
dev-util/dwdiff: Port to EAPI 7
Closes: https://bugs.gentoo.org/707140
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-util/dwdiff')
-rw-r--r-- | dev-util/dwdiff/dwdiff-2.1.3.ebuild | 31 | ||||
-rw-r--r-- | dev-util/dwdiff/files/dwdiff-2.1.3-C99-fix.patch (renamed from dev-util/dwdiff/files/C99-fix.patch) | 0 |
2 files changed, 9 insertions, 22 deletions
diff --git a/dev-util/dwdiff/dwdiff-2.1.3.ebuild b/dev-util/dwdiff/dwdiff-2.1.3.ebuild index 2c5dc4d45e83..973e44885e76 100644 --- a/dev-util/dwdiff/dwdiff-2.1.3.ebuild +++ b/dev-util/dwdiff/dwdiff-2.1.3.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="diff-like program operating at word level instead of line level" HOMEPAGE="https://os.ghalkes.nl/dwdiff.html" @@ -14,38 +14,25 @@ SLOT="0" KEYWORDS="amd64 ppc ~ppc64 x86" IUSE="nls" -CDEPEND="dev-libs/icu:=" - RDEPEND=" - ${CDEPEND} + dev-libs/icu:= sys-apps/diffutils" +DEPEND="${RDEPEND}" +BDEPEND="nls? ( sys-devel/gettext )" -DEPEND=" - ${CDEPEND} - nls? ( sys-devel/gettext )" - -PATCHES=( - "${FILESDIR}/C99-fix.patch" -) +PATCHES=( "${FILESDIR}"/${P}-C99-fix.patch ) src_prepare() { default - - sed -i \ - -e '/INSTALL/s:COPYING::' \ - Makefile.in || die + sed -i -e '/INSTALL/s:COPYING::' Makefile.in || die } src_configure() { ./configure \ - --prefix=/usr \ - $(use_with nls gettext) || die "./configure error" + --prefix="${EPREFIX}"/usr \ + $(use_with nls gettext) || die } src_compile() { emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" } - -src_install() { - emake prefix="${D}/usr" docdir="${D}/usr/share/doc/${PF}" install -} diff --git a/dev-util/dwdiff/files/C99-fix.patch b/dev-util/dwdiff/files/dwdiff-2.1.3-C99-fix.patch index 9d6d9ae2bca5..9d6d9ae2bca5 100644 --- a/dev-util/dwdiff/files/C99-fix.patch +++ b/dev-util/dwdiff/files/dwdiff-2.1.3-C99-fix.patch |