From: Stuart Cassoff Subject: Re: print/texlive: Adjust for Ruby and Tk To: Edd Barrett Cc: OpenBSD Ports Date: Thu, 4 Dec 2025 00:19:28 -0500 On Wed, 3 Dec 2025, Edd Barrett wrote: > Hi Stuart, > > Thanks for looking into this. > > Diff looks good to me, but don't we need bumps if the README is going to > change? Yes! I always forget. Thanks. > Feel free to remove tltcl if it serves no other purpose. It's not a big deal to leave it. Here's a fresh patch. Ok? Stu diff -Nurp /usr/ports/print/texlive/base/Makefile ./base/Makefile --- /usr/ports/print/texlive/base/Makefile Wed Oct 1 16:45:03 2025 +++ ./base/Makefile Wed Dec 3 23:40:03 2025 @@ -16,6 +16,8 @@ PKGNAME-mktexlsr = texlive_mktexlsr-${V} PKGNAME-main = ${PKGNAME} PKGNAME-synctex = texlive_synctex-${V} +REVISION-main = 0 + DISTFILES = texlive-${DIST_V}-extra${EXTRACT_SUFX} DISTFILES.zoo = ${DISTNAME}${EXTRACT_SUFX} \ mktexlsr-${V}.gz @@ -67,8 +69,13 @@ LIB_DEPENDS-mktexlsr = LIB_DEPENDS-synctex = -MODULES = textproc/intltool perl +MODULES = textproc/intltool lang/ruby x11/tk perl +# Ruby and Tk modules only here for README substitution +MODRUBY_BUILDDEP = No +MODRUBY_RUNDEP = No +MODTK_VERSION = 8.6 + # c++-17 required for some subprojects COMPILER = base-clang ports-gcc CXXFLAGS_ports-gcc = -std=gnu++17 @@ -153,7 +160,7 @@ CONFIGURE_ARGS += --mandir=${PREFIX}/man \ # https://tug.org/pipermail/tldistro/2024q2/000477.html CONFIGURE_ARGS += --disable-dvisvgm -SUBST_VARS += TRUEPREFIX LOCALBASE +SUBST_VARS += TRUEPREFIX LOCALBASE MODTK_VERSION # just to silence error - never used pre-install: diff -Nurp /usr/ports/print/texlive/texmf/Makefile ./texmf/Makefile --- /usr/ports/print/texlive/texmf/Makefile Wed Oct 1 16:45:04 2025 +++ ./texmf/Makefile Wed Dec 3 23:40:29 2025 @@ -23,6 +23,9 @@ PKGNAME-docs = texlive_texmf-docs-${V} PKGNAME-context = texlive_texmf-context-${V} PKGNAME-buildset = texlive_texmf-buildset-${V} +REVISION-main = 0 +REVISION-buildset = 0 + NO_BUILD = Yes NO_TEST = Yes PKG_ARCH = * @@ -37,6 +40,7 @@ MODRUBY_BUILDDEP = No MODRUBY_RUNDEP = No MODPY_BUILDDEP = No MODPY_RUNDEP = No +MODTK_VERSION = 8.6 .include "adj.mk" @@ -44,6 +48,7 @@ RUN_DEPENDS-main += texlive_base->=${V}:print/texlive/ ${FULLPKGNAME-buildset}:print/texlive/texmf,-buildset RUN_DEPENDS-full = ${FULLPKGNAME-main}:print/texlive/texmf,-main \ ${MODPY_RUN_DEPENDS} \ + ${MODTK_RUN_DEPENDS} \ ${_MODLUA_RUNDEPENDS} # While pdfjam needs bash, depend upon bash: RUN_DEPENDS-full += shells/bash