Avoid warning on Ruby 3.2 using distpatch

Switch to using Tk 8.6.
This commit is contained in:
jeremy 2023-01-08 02:50:00 +00:00
parent 6556c74fbe
commit aec2a834d3
2 changed files with 10 additions and 2 deletions

View File

@ -1,16 +1,22 @@
COMMENT= ruby graphical tooklit using Tk
COMMENT= Ruby interface to the Tk graphical toolkit
DISTNAME= tk-0.4.0
CATEGORIES= x11
REVISION= 0
HOMEPAGE= https://github.com/ruby/tk
MAINTAINER= Jeremy Evans <jeremy@openbsd.org>
MASTER_SITES0= https://github.com/ruby/tk/commit/
PATCHFILES= ruby-tk-undef-fix{bf02b2aaa1e4d7688b84ea771a56d9d53e63015c}.patch:0
PATCH_DIST_STRIP= -p1
# MIT
PERMIT_PACKAGE= Yes
MODULES= lang/ruby x11/tk
MODTK_VERSION= 8.6
CONFIGURE_STYLE= ruby gem ext
@ -21,7 +27,7 @@ CONFIGURE_ARGS = --with-tcl-include=${MODTCL_INCDIR} \
--with-tcllib=${MODTCL_LIB} \
--with-tklib=${MODTK_LIB} \
--with-X11-dir=${X11BASE}
WANTLIB = X11 ${MODTCL_LIB} ${MODTK_LIB}
WANTLIB = X11 ${MODTK_WANTLIB}
LIB_DEPENDS = ${MODTK_LIB_DEPENDS}
.include <bsd.port.mk>

View File

@ -1,2 +1,4 @@
SHA256 (ruby-tk-undef-fix.patch) = 3sW75HfWh66KtK5/WCIHrcY4K74zKFwlwtTj2+XO1ZA=
SHA256 (tk-0.4.0.gem) = ar/8VrYKR+g6+acG0b9doQzmmOgSGfgdq24tTYZtt6o=
SIZE (ruby-tk-undef-fix.patch) = 919
SIZE (tk-0.4.0.gem) = 1721856