summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2020-03-28 11:44:38 +0100
committerTupone Alfredo <tupone@gentoo.org>2020-03-28 11:44:38 +0100
commita1b78e82745fad42fefafb2152ac68be7263b057 (patch)
treeb0b50bea47daa9fa4f3e8b283e575dcf3b83ee58 /dev-tcltk
parentdev-qt/qtxmlpatterns: arm64 stable (bug #699328) (diff)
downloadgentoo-a1b78e82745fad42fefafb2152ac68be7263b057.tar.gz
gentoo-a1b78e82745fad42fefafb2152ac68be7263b057.tar.bz2
gentoo-a1b78e82745fad42fefafb2152ac68be7263b057.zip
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 <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/itk/itk-4.1.0.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-tcltk/itk/itk-4.1.0.ebuild b/dev-tcltk/itk/itk-4.1.0.ebuild
index 51ca9d3669c4..639c402f12dc 100644
--- a/dev-tcltk/itk/itk-4.1.0.ebuild
+++ b/dev-tcltk/itk/itk-4.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -6,7 +6,6 @@ EAPI=7
inherit autotools multilib virtualx
MY_PV=${PV/_beta/b}
-ITCL_VERSION=$(ver_cut 1-2)
DESCRIPTION="Object Oriented Enhancements for Tcl/Tk"
HOMEPAGE="http://incrtcl.sourceforge.net/"
@@ -20,7 +19,7 @@ RESTRICT="!test? ( test )"
DEPEND="
>=dev-lang/tk-8.6:=
- =dev-tcltk/itcl-${ITCL_VERSION}*"
+ >=dev-tcltk/itcl-4.1"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}${MY_PV}"
@@ -33,6 +32,8 @@ src_prepare() {
}
src_configure() {
+ local ITCL_VERSION=$(best_version dev-tcltk/itcl)
+ ITCL_VERSION=${ITCL_VERSION:15} # remove category, package name and dash
source "${EPREFIX}"/usr/$(get_libdir)/itcl${ITCL_VERSION}*/itclConfig.sh || die
econf \
--with-tcl="${EPREFIX}"/usr/$(get_libdir) \