From nobody Tue Nov 28 01:55:35 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SfQX73yVcz52VWx for ; Tue, 28 Nov 2023 01:55:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SfQX72fF6z4tbM for ; Tue, 28 Nov 2023 01:55:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701136535; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=X+2zWIvDcdr5F5bfiMQYOoHNQj+RlnpFx2tqlYXpYyQ=; b=WNR/Lb9wrPT/BJH3rp/q7/bWheEqAMof5+HoBS9vxHBFo0cFgS45z68AqySZ3mwUTOObhz KOFRkLDyqm9nQ3LgWFnp6EuD7QF5CWKI9DeMaH5AGiOgmmAcenBxrR2fiY4RZMEE4RXeY6 OpY6UGojU87/j8xyRXYbgbyGnuq9efBwmkdwyFMjW9Z8ZkMH7BO7bPNUmBQIvsbMsryUIw EzTB4zJuf3iGbjTeMTgkY8DHSh0Jr8MOxpz2jTYnyOjKBduxtym5Ai09vu/yaH8YLz7Gil ECZU4QL6YTLRafyQbvDPdmlmLEyRon+vC54btfFnw18dgCns4Qihr3/GMq6Tsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701136535; a=rsa-sha256; cv=none; b=B+veBoNltatN61MSY4/2Y0yAyrnIYYPSjEFlyjoh6qyIMHjpEOjtzWejwd48mmrYKSXSV4 DrEiuqpTyc56jgDo92ULRobqyC33Rf+lVgD92UyDH9ZutOVUPA53CdpsN+gab2rsbRu93+ tRun/gqbfvdI6S2DZs0WB/JjXo160qi58OJcHXxCa6XZrNWgpAKCF88h31iR5FbFGorgyj tKLm2Q+kw71RFfXDaSnIOZjoGfYrv99U7XB16VpTUQdm9GWFcF056fODo5KzZbeR0y115O MPL/eq+aM4I6QDV/jtOI/6Qrq7wZIRDBBxG8nzAZ+m/N4NShOO0M5s6D4vMo/A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SfQX71kmdz132M for ; Tue, 28 Nov 2023 01:55:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3AS1tZHI093954 for ; Tue, 28 Nov 2023 01:55:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AS1tZQK093953 for ports-bugs@FreeBSD.org; Tue, 28 Nov 2023 01:55:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 256218] textproc/wordnet: missing Tk dependency Date: Tue, 28 Nov 2023 01:55:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mi@ALDAN.algebra.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256218 --- Comment #12 from Mikhail T. --- How about I modify wnb to use tclsh instead of wish, and try loading Tk at runtime like this: #!/usr/local/bin/tclsh8.6 if {[catch {package require Tk} err]} { puts stderr "Error initializing GUI: $err\n\nThis program requires = Tk.\ Please, install the x11-toolkits/tk[string map {. {}} $tcl_vers= ion] port." exit 1 } This will give the user a fair explanation without adding the OPTIONS and creating multiple versions of the package? Because even with your patch, if= the user declines the GUI-option, the port would still install wnb -- just as unusable as it is currently... --=20 You are receiving this mail because: You are the assignee for the bug.=