Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tcl3d/
Date: Wed, 27 Oct 2021 20:16:08
Message-Id: 1635365746.fc8e802cd093a18b6822a21ba4aaf8f6e382e805.tupone@gentoo
1 commit: fc8e802cd093a18b6822a21ba4aaf8f6e382e805
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 27 20:15:46 2021 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 27 20:15:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc8e802c
7
8 dev-tcltk/tcl3d: EAPI 7 and hopefully fix for #816825
9
10 Closes: https://bugs.gentoo.org/816825
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
13
14 dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild | 15 +++++++++++++--
15 1 file changed, 13 insertions(+), 2 deletions(-)
16
17 diff --git a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
18 index f24710e3f1e..7a07697e35a 100644
19 --- a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
20 +++ b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild
21 @@ -1,7 +1,7 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 +# Copyright 1999-2021 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=6
27 +EAPI=7
28
29 inherit flag-o-matic toolchain-funcs
30
31 @@ -31,6 +31,15 @@ DEPEND="${RDEPEND}
32 S="${WORKDIR}/${PN}"
33 PATCHES=( "${FILESDIR}/${P}-include-tk-dir-and-permissive.patch" )
34
35 +src_prepare() {
36 + sed -i \
37 + -e '/\..$(DSEP)pkgIndex.tcl/d' \
38 + tcl3d*/Makefile \
39 + || die
40 +
41 + default
42 +}
43 +
44 src_configure() {
45 local _TCL_V=( $(echo 'puts [info tclversion]' | tclsh | tr '.' ' ') )
46 local _TCL_FV="${_TCL_V[0]}.${_TCL_V[1]}"
47 @@ -74,4 +83,6 @@ src_compile() {
48
49 src_install() {
50 emake INSTDIR="${D}/usr" DESTDIR="${D}" INSTLIB="${D}/usr/$(get_libdir)" install
51 + insinto /usr/$(get_libdir)/${PN}${PV}
52 + doins pkgIndex.tcl
53 }