Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: lang/jimtcl MULTI_PACKAGES
To:
Stuart Cassoff <exokoide@yahoo.ca>
Cc:
OpenBSD Ports <ports@openbsd.org>
Date:
Fri, 28 Nov 2025 16:24:02 +0000

Download raw body.

Thread
On 2025/11/28 11:08, Stuart Cassoff wrote:
> 
> Back to this, here's a fresh diff.
> 
> Update to 0.81.
> 
> MULTI_PACKAGES=-main -redis -sdl -sqlite
> SEPARATE_BUILD=Yes
> MODTCL_VERSION=8.6
> 
> Latest devel/openocd wants lang/jimtcl >= 0.81.
> 
> 
> Stu
> 
> 
> 
> diff -Nurp /usr/ports/lang/jimtcl/Makefile ./Makefile
> --- /usr/ports/lang/jimtcl/Makefile	Fri Mar 11 14:29:03 2022
> +++ ./Makefile	Wed Nov 26 12:32:53 2025
> @@ -1,10 +1,19 @@
> -COMMENT =		small footprint implementation of Tcl
> +COMMENT-main =		small footprint implementation of Tcl
> +COMMENT-redis =		REDIS extension for Jimtcl
> +COMMENT-sdl =		SDL extension for Jimtcl
> +COMMENT-sqlite =	SQLite extension for Jimtcl
>  
> +PKGNAME-redis =		${PKGNAME:S|-|-redis-|}
> +PKGNAME-sdl =		${PKGNAME:S|-|-sdl-|}
> +PKGNAME-sqlite =	${PKGNAME:S|-|-sqlite-|}

just leave those out, PKGNAME-foo has sane defaults these days

> --- /usr/ports/lang/jimtcl/pkg/PLIST-main	Wed Dec 31 19:00:00 1969
> +++ ./pkg/PLIST-main	Wed Jan  8 04:44:47 2025
> @@ -0,0 +1,74 @@
> +bin/jimdb
> +@bin bin/jimsh

this needs @pkgpath lang/jimtcl

> diff -Nurp /usr/ports/lang/jimtcl/pkg/PLIST-sqlite ./pkg/PLIST-sqlite
> --- /usr/ports/lang/jimtcl/pkg/PLIST-sqlite	Wed Dec 31 19:00:00 1969
> +++ ./pkg/PLIST-sqlite	Wed Jan  8 04:21:44 2025
> @@ -0,0 +1 @@
> +@so lib/jim/sqlite3.so

and this needs @conflict jimtcl-<0.81

otherwise ok (devel/openocd and devel/jimarc4random require REVISION
bumps due to the pkgpath change affecting their packages)