diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2024-02-29 12:07:27 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2024-02-29 12:08:10 +0100 |
commit | 564d7f79ae417039f671c83b4f8ad9f6d867a17a (patch) | |
tree | 2a0451f6fcef40fee7f1e3f51094912848c3c8e2 /dev-tcltk | |
parent | dev-ada/libgpr: add 24.0.0 (diff) | |
download | gentoo-564d7f79ae417039f671c83b4f8ad9f6d867a17a.tar.gz gentoo-564d7f79ae417039f671c83b4f8ad9f6d867a17a.tar.bz2 gentoo-564d7f79ae417039f671c83b4f8ad9f6d867a17a.zip |
dev-tcltk/itk: fix ITCL version
Closes: https://bugs.gentoo.org/925740
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk')
-rw-r--r-- | dev-tcltk/itk/itk-4.1.0-r1.ebuild | 5 | ||||
-rw-r--r-- | dev-tcltk/itk/metadata.xml | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/dev-tcltk/itk/itk-4.1.0-r1.ebuild b/dev-tcltk/itk/itk-4.1.0-r1.ebuild index 86f5abce75fe..fc8d2ac21bcb 100644 --- a/dev-tcltk/itk/itk-4.1.0-r1.ebuild +++ b/dev-tcltk/itk/itk-4.1.0-r1.ebuild @@ -35,8 +35,9 @@ src_prepare() { } src_configure() { - local ITCL_VERSION=$(best_version dev-tcltk/itcl) - ITCL_VERSION=${ITCL_VERSION:15} # remove category, package name and dash + local itcl_package=$(best_version dev-tcltk/itcl) + local itcl_version=${itcl_package#*/*-} + local ITCL_VERSION="${itcl_version%-*}" source "${EPREFIX}"/usr/$(get_libdir)/itcl${ITCL_VERSION}*/itclConfig.sh || die econf \ --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ diff --git a/dev-tcltk/itk/metadata.xml b/dev-tcltk/itk/metadata.xml index 687db9f341b7..60cd4f349c03 100644 --- a/dev-tcltk/itk/metadata.xml +++ b/dev-tcltk/itk/metadata.xml @@ -7,5 +7,6 @@ </maintainer> <upstream> <remote-id type="sourceforge">incrtcl</remote-id> + <remote-id type="github">tcltk/itk</remote-id> </upstream> </pkgmetadata> |