Skip to content

Commit a1b78e8

Browse files
committed
dev-tcltk/itk: weaken dependency on dev-tcltk/itcl
Closes: https://bugs.gentoo.org/712552 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alfredo Tupone <[email protected]>
1 parent 50e0ea4 commit a1b78e8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

dev-tcltk/itk/itk-4.1.0.ebuild

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
# Copyright 1999-2019 Gentoo Authors
1+
# Copyright 1999-2020 Gentoo Authors
22
# Distributed under the terms of the GNU General Public License v2
33

44
EAPI=7
55

66
inherit autotools multilib virtualx
77

88
MY_PV=${PV/_beta/b}
9-
ITCL_VERSION=$(ver_cut 1-2)
109

1110
DESCRIPTION="Object Oriented Enhancements for Tcl/Tk"
1211
HOMEPAGE="http://incrtcl.sourceforge.net/"
@@ -20,7 +19,7 @@ RESTRICT="!test? ( test )"
2019

2120
DEPEND="
2221
>=dev-lang/tk-8.6:=
23-
=dev-tcltk/itcl-${ITCL_VERSION}*"
22+
>=dev-tcltk/itcl-4.1"
2423
RDEPEND="${DEPEND}"
2524

2625
S="${WORKDIR}/${PN}${MY_PV}"
@@ -33,6 +32,8 @@ src_prepare() {
3332
}
3433

3534
src_configure() {
35+
local ITCL_VERSION=$(best_version dev-tcltk/itcl)
36+
ITCL_VERSION=${ITCL_VERSION:15} # remove category, package name and dash
3637
source "${EPREFIX}"/usr/$(get_libdir)/itcl${ITCL_VERSION}*/itclConfig.sh || die
3738
econf \
3839
--with-tcl="${EPREFIX}"/usr/$(get_libdir) \

0 commit comments

Comments
 (0)