From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 97D41158041 for ; Thu, 29 Feb 2024 11:08:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A79DDE2A54; Thu, 29 Feb 2024 11:08:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8BD10E2A54 for ; Thu, 29 Feb 2024 11:08:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 933D7343077 for ; Thu, 29 Feb 2024 11:08:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AF46514E0 for ; Thu, 29 Feb 2024 11:08:37 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1709204890.564d7f79ae417039f671c83b4f8ad9f6d867a17a.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/itk/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tcltk/itk/itk-4.1.0-r1.ebuild dev-tcltk/itk/metadata.xml X-VCS-Directories: dev-tcltk/itk/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 564d7f79ae417039f671c83b4f8ad9f6d867a17a X-VCS-Branch: master Date: Thu, 29 Feb 2024 11:08:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5f286ddd-146c-4dce-ba88-44c9a5d7eb97 X-Archives-Hash: aa93b651ac4ec53382afeaee9334a82f commit: 564d7f79ae417039f671c83b4f8ad9f6d867a17a Author: Alfredo Tupone gentoo org> AuthorDate: Thu Feb 29 11:07:27 2024 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Thu Feb 29 11:08:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=564d7f79 dev-tcltk/itk: fix ITCL version Closes: https://bugs.gentoo.org/925740 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/itk/itk-4.1.0-r1.ebuild | 5 +++-- 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 @@ incrtcl + tcltk/itk