Index | Thread | Search

From:
Stuart Cassoff <exokoide@yahoo.ca>
Subject:
Fw: x11/x11vnc: Don't use MODTK_VERSION in substitution.
To:
OpenBSD Ports <ports@openbsd.org>
Date:
Tue, 16 Dec 2025 11:32:53 +0000

Download raw body.

Thread
 I'd appreciate some help with this, thanks.

   ----- Forwarded Message ----- From: Stuart Cassoff <exokoide@yahoo.ca>To: OpenBSD Ports <ports@openbsd.org>Sent: Wednesday, December 3, 2025 at 10:48:10 p.m. ESTSubject: Re: x11/x11vnc: Don't use MODTK_VERSION in substitution.
 Thank you (and sthen@) for the oks.

This last change was a bit of a mistake and overstep
in my Tcl cleanup efforts. Sorry about that.


patch-src_gui_c should be reverted and in the Makefile
add MODTK_VERSION to SUBST_VARS. No need for a variable dance.

I'm not sure how to go about reverting.
Like this?
$ cvs -q -d cvs.openbsd.org:/cvs up -r 1.2 patch-src_gui_c

Then commit?


Stu



Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/x11vnc/Makefile,v
diff -u -p -u -p -r1.59 Makefile
--- Makefile    24 Nov 2025 21:04:31 -0000    1.59
+++ Makefile    4 Dec 2025 03:36:29 -0000
@@ -35,9 +35,7 @@ CONFIGURE_ENV +=    ac_cv_header_linux_inpu
 AUTOCONF_VERSION =    2.69
 AUTOMAKE_VERSION =    1.15
 
-SUBST_VARS =        WISH_BIN
-
-WISH_BIN =        ${MODTK_BIN:T}
+SUBST_VARS =        MODTK_VERSION
 
 pre-configure:
     ${SUBST_CMD} ${WRKSRC}/src/gui.c




On Tue, 25 Nov 2025, Klemens Nanni wrote:

> 24.11.2025 21:56, Stuart Cassoff пишет:
> > 
> > Ok?
> > 
> > 
> > On Thu, 20 Nov 2025, Stuart Cassoff wrote:
> > 
> >> A step towards removing MODTK_VERSION from SUBST_VARS.
> >> The gui works fine with Tk 8.6. The patch is also a little nicer.
> >> $ x11vnc -gui
> 
> OK kn
> 
>