summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 05:53:48 +0100
committerSam James <sam@gentoo.org>2021-04-19 06:02:51 +0100
commit8c7e004765caf9ddac852e96bc3ba5d01e1a050a (patch)
tree09b702e71f1a5bf9478b63c2be38595271ce8559 /app-misc/gnuit/gnuit-4.9.5-r2.ebuild
parentdev-ruby/origin: remove obsolete i18n slot (diff)
downloadgentoo-8c7e004765caf9ddac852e96bc3ba5d01e1a050a.tar.gz
gentoo-8c7e004765caf9ddac852e96bc3ba5d01e1a050a.tar.bz2
gentoo-8c7e004765caf9ddac852e96bc3ba5d01e1a050a.zip
app-misc/gnuit: port to EAPI 7, respect AR
Closes: https://bugs.gentoo.org/722314 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc/gnuit/gnuit-4.9.5-r2.ebuild')
-rw-r--r--app-misc/gnuit/gnuit-4.9.5-r2.ebuild21
1 files changed, 16 insertions, 5 deletions
diff --git a/app-misc/gnuit/gnuit-4.9.5-r2.ebuild b/app-misc/gnuit/gnuit-4.9.5-r2.ebuild
index 904f321af2a7..be1fe1604d60 100644
--- a/app-misc/gnuit/gnuit-4.9.5-r2.ebuild
+++ b/app-misc/gnuit/gnuit-4.9.5-r2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit epatch
+inherit autotools toolchain-funcs
DESCRIPTION="GNU Interactive Tools - increase speed and efficiency of most daily tasks"
HOMEPAGE="https://www.gnu.org/software/gnuit/"
@@ -12,13 +12,22 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3 FDL-1.3"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
-IUSE=""
+
+PATCHES=(
+ "${FILESDIR}"/${P}-format-security.patch
+ "${FILESDIR}"/${PN}-4.9.5-respect-AR.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/${P}-format-security.patch
+ default
+
+ # for AR patch
+ eautoreconf
}
src_configure() {
+ tc-export AR
+
# The transition option controls whether a "git" wrapper is installed, it is
# disabled explicitly so we don't need to block on dev-vcs/git.
econf --disable-transition
@@ -26,8 +35,10 @@ src_configure() {
src_install() {
default
+
#emake DESTDIR="${D}" htmldir="/usr/share/doc/${PF}/html" install
- mv "${D}/usr/bin/gitview" "${D}/usr/bin/gnuitview" || die
+
+ mv "${ED}/usr/bin/gitview" "${ED}/usr/bin/gnuitview" || die
}
pkg_postinst() {