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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 45BAA1382C5 for ; Tue, 26 May 2020 20:08:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BE2EE0954; Tue, 26 May 2020 20:08:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5D632E0954 for ; Tue, 26 May 2020 20:08:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DBEAA34EE14 for ; Tue, 26 May 2020 20:08:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E22426 for ; Tue, 26 May 2020 20:08:28 +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: <1590523688.3b796cc233524f8ef026478c645777953883da23.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-tcltk/tclreadline/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild X-VCS-Directories: dev-tcltk/tclreadline/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 3b796cc233524f8ef026478c645777953883da23 X-VCS-Branch: master Date: Tue, 26 May 2020 20:08:28 +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: 92807810-658f-4561-92b3-bdf6db914eb7 X-Archives-Hash: 72ea941505601db0e3ed472e3629cf41 commit: 3b796cc233524f8ef026478c645777953883da23 Author: Alfredo Tupone gentoo org> AuthorDate: Tue May 26 20:08:08 2020 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Tue May 26 20:08:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b796cc2 dev-tcltk/tclreadline: fix dependency and add use tk Closes: https://bugs.gentoo.org/724038 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alfredo Tupone gentoo.org> dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild index afd3eb3663d..9ebdb8473d8 100644 --- a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild +++ b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild @@ -11,16 +11,20 @@ SRC_URI="https://github.com/flightaware/tclreadline/archive/v${PV}.tar.gz LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="" +IUSE="tk" DEPEND="dev-lang/tcl:0= - sys-libs/readline:0=" + sys-libs/readline:0= + tk? ( dev-lang/tk:0= )" RDEPEND="${DEPEND}" BDEPEND="" src_configure() { - econf \ - --with-tcl="${EPREFIX}/usr/$(get_libdir)" + local myConf=--with-tcl="${EPREFIX}/usr/$(get_libdir)" + if ! use tk; then + myConf="$myConf --without-tk" + fi + econf $myConf } src_install() {