[Bug 256218] textproc/wordnet: missing Tk dependency
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 256218] textproc/WordNet missing tk86 dependency"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Nov 2023 01:55:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256218 --- Comment #12 from Mikhail T. <mi@ALDAN.algebra.com> --- 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_version] 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... -- You are receiving this mail because: You are the assignee for the bug.