Sunday, February 08, 2026

Remove MOTDCL_BIN and MODTK_BIN from SUBST_VARS.

Only five ports are affected.

I'll send separete messages about:
comms/tkhylafax
graphics/gocr
misc/WordGenerator

I'm maintainer for these (pretty much the same change):
devel/vtcl
textproc/boust


Stu



--- /usr/ports/lang/tcl/tcl.port.mk Sun Feb 8 13:36:15 2026
+++ tcl.port.mk Sun Feb 8 13:36:57 2026
@@ -39,5 +39,3 @@ MODTCL_TCLSH_ADJ = perl -pi \

# Same for 'wish'.
MODTCL_WISH_ADJ = ${MODTCL_TCLSH_ADJ:S/tclsh/wish/}
-
-SUBST_VARS += MODTCL_BIN



--- /usr/ports/x11/tk/tk.port.mk Sun Feb 8 13:36:35 2026
+++ tk.port.mk Sun Feb 8 13:38:05 2026
@@ -23,8 +23,6 @@ MODTK_INCDIR ?= ${LOCALBASE}/include/tk${MODTK_VERSIO
MODTK_LIBDIR ?= ${MODTCL_TCLDIR}/tk${MODTK_VERSION}


-SUBST_VARS += MODTK_BIN
-
MODULES += lang/tcl

MODTK_BUILD_DEPENDS ?= ${_MODTK_SPEC}:x11/tk/${MODTK_VERSION} \



Index: port-modules.5
===================================================================
RCS file: /cvs/src/share/man/man5/port-modules.5,v
diff -u -p -u -p -r1.282 port-modules.5
--- port-modules.5 6 Jan 2026 13:50:26 -0000 1.282
+++ port-modules.5 8 Feb 2026 18:41:12 -0000
@@ -1105,9 +1105,7 @@ and
.Ev MODTCL_WISH_ADJ
shell fragments to patch the interpreter path in executable scripts.
Also affects
-.Ev CATEGORIES
-and
-.Ev SUBST_VARS .
+.Ev CATEGORIES .
.It perl
This module is documented in the main
.Xr bsd.port.mk 5
@@ -1341,9 +1339,7 @@ module, provides a default
to match
.Ev MODTK_VERSION ,
and affects
-.Ev CATEGORIES
-and
-.Ev SUBST_VARS .
+.Ev CATEGORIES .
Note the
.Ev MODTCL_WISH_ADJ
shell fragment in the

No comments:

Post a Comment