File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
- # Copyright 1999-2019 Gentoo Authors
1
+ # Copyright 1999-2020 Gentoo Authors
2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
4
EAPI=7
5
5
6
6
inherit autotools multilib virtualx
7
7
8
8
MY_PV=${PV/ _beta/ b}
9
- ITCL_VERSION=$( ver_cut 1-2)
10
9
11
10
DESCRIPTION=" Object Oriented Enhancements for Tcl/Tk"
12
11
HOMEPAGE=" http://incrtcl.sourceforge.net/"
@@ -20,7 +19,7 @@ RESTRICT="!test? ( test )"
20
19
21
20
DEPEND="
22
21
>=dev-lang/tk-8.6:=
23
- =dev-tcltk/itcl-${ITCL_VERSION} * "
22
+ > =dev-tcltk/itcl-4.1 "
24
23
RDEPEND=" ${DEPEND} "
25
24
26
25
S=" ${WORKDIR} /${PN}${MY_PV} "
@@ -33,6 +32,8 @@ src_prepare() {
33
32
}
34
33
35
34
src_configure () {
35
+ local ITCL_VERSION=$( best_version dev-tcltk/itcl)
36
+ ITCL_VERSION=${ITCL_VERSION: 15} # remove category, package name and dash
36
37
source " ${EPREFIX} " /usr/$( get_libdir) /itcl${ITCL_VERSION} * /itclConfig.sh || die
37
38
econf \
38
39
--with-tcl=" ${EPREFIX} " /usr/$( get_libdir) \
You can’t perform that action at this time.
0 commit comments