Download raw body.
Remove MODTCL_VERSION and MODTK_VERSION from SUBST_VARS.
Substituting version numbers may result in unwanted artefacts
in PLISTs, especially with Tcl/Tk 9.
The only two ports that need this do it for themselves.*
Ports substituting MODTCL_VERSION: 0.
Ports substituting MODTK_VERSION: 2.
print/texlive/base
x11/x11vnc
Stu
*This will become true when x11/x11vnc is updated:
https://marc.info/?l=openbsd-ports&m=176482296610170&w=2
Index: tcl.port.mk
===================================================================
RCS file: /cvs/ports/lang/tcl/tcl.port.mk,v
diff -u -p -u -p -r1.19 tcl.port.mk
--- tcl.port.mk 2 Dec 2025 13:06:51 -0000 1.19
+++ tcl.port.mk 4 Dec 2025 14:53:38 -0000
@@ -37,4 +37,4 @@ MODTCL_TCLSH_ADJ = perl -pi \
# Same for 'wish'.
MODTCL_WISH_ADJ = ${MODTCL_TCLSH_ADJ:S/tclsh/wish/}
-SUBST_VARS += MODTCL_VERSION MODTCL_BIN
+SUBST_VARS += MODTCL_BIN
Index: tk.port.mk
===================================================================
RCS file: /cvs/ports/x11/tk/tk.port.mk,v
diff -u -p -u -p -r1.16 tk.port.mk
--- tk.port.mk 2 Dec 2025 13:07:16 -0000 1.16
+++ tk.port.mk 4 Dec 2025 14:53:54 -0000
@@ -20,7 +20,7 @@ MODTK_INCDIR ?= ${LOCALBASE}/include/tk
MODTK_LIBDIR ?= ${MODTCL_TCLDIR}/tk${MODTK_VERSION}
-SUBST_VARS += MODTK_VERSION MODTK_BIN
+SUBST_VARS += MODTK_BIN
MODULES += lang/tcl
Remove MODTCL_VERSION and MODTK_VERSION from SUBST_VARS.