On 2023/05/22 09:11, Jonathan Drews wrote:
> My system: OpenBSD 7.3 GENERIC.MP#1125 amd64
> The port: math/maxima
>
> Hi Folks:
>
> This port has not been updated for a while. I got permission from the
> current maitainer to update it. I am having a little problem after
> making the necessary changes to the Makefile. xmaxima will not
> display. I get the following error when I try to run it:
>
> $ xmaxima
>
> Error in startup script: version conflict for package "Tk": have
> 8.5.19, need 8.6
> while executing
> "package require Tk 8.6"
> (file "/usr/local/bin/xmaxima" line 5)
>
> and the xmaxima shell script says requires tk8.6:
>
> #!/bin/sh
> # -*- mode: tcl; fill-column: 75; tab-width: 8 -*- \
> exec /usr/local/bin/wish8.5 "$0" -- "$@"
>
> package require Tk 8.6
you have the wrong wish version in the exec line. this is usually fixed
up by passing the file to ${MODTCL_WISH_ADJ} in some build/configure
stage. maybe along the lines of
pre-build:
${MODTCL_WISH_ADJ} ${WRKSRC}/path/to/file
No comments:
Post a Comment