Have you tried this with Tcl/Tk 8.6? I think it's a good idea for ports to move to using 8.6 if possible. Also, you might want to use the Tk port module.
Stu On Mon, 24 May 2021, Jeremy Evans wrote: > Simple bump to latest version of ruby-tk. > > Main changes are to fix various warnings and errors on recent Ruby > versions and to run the event loop on the main thread, which massively > speeds up programs using ruby-tk. > > Tested on amd64. Will be committing in a couple days unless I hear > objections. > > Thanks, > Jeremy > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/x11/ruby-tk/Makefile,v > retrieving revision 1.6 > diff -u -p -r1.6 Makefile > --- Makefile 11 Nov 2020 02:45:18 -0000 1.6 > +++ Makefile 23 Mar 2021 15:03:18 -0000 > @@ -2,7 +2,7 @@ > > COMMENT= ruby graphical tooklit using Tk > > -DISTNAME= tk-0.3.0 > +DISTNAME= tk-0.4.0 > CATEGORIES= x11 > > HOMEPAGE= https://github.com/ruby/tk > Index: distinfo > =================================================================== > RCS file: /cvs/ports/x11/ruby-tk/distinfo,v > retrieving revision 1.2 > diff -u -p -r1.2 distinfo > --- distinfo 11 Nov 2020 02:45:18 -0000 1.2 > +++ distinfo 26 Mar 2021 17:44:08 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (tk-0.3.0.gem) = w840rW0detKDLvVPeHTuh+FDqE8JAE3nPMDB6MQaRBI= > -SIZE (tk-0.3.0.gem) = 1721856 > +SHA256 (tk-0.4.0.gem) = ar/8VrYKR+g6+acG0b9doQzmmOgSGfgdq24tTYZtt6o= > +SIZE (tk-0.4.0.gem) = 1721856 > >