[Semibug] Assume responsibility for a port
Jonathan Drews
jondrews at fastmail.com
Thu May 25 02:17:06 EDT 2023
On Mon, May 22, 2023 at 12:06:06PM -0400, Josh Grosse wrote:
> On Mon, May 22, 2023 at 07:07:51AM -0600, Jonathan Drews wrote:
> > ... [snip] ...
> > Here is my Makefile for maxima. How do I specify it to use tk8.6?
> > ... [snip] ...
> > MODULES+= x11/tk
> > ... [snip] ...
>
> I don't have tk installed here, so I tested to see if there were
> any conflicts by trying to install both versions. No conflicts, they
> can both be installed at the same time.
>
> In the ports-modules(5) man page, you will find a brief description
> of the x11/tk module and the variables that it sets. One of those is
> MODTK_VERSION. A brief glance through the module itself in
> /usr/ports/x11/tk/tk.port.mk makes it appear to me that you can
> set this variable to 8.6. I'd try it and see if it makes a difference for you.
>
> > My other question is should I join the ports@ mailing list?
>
> Absolutely. T
Josh and others.
I successfully got the Maxima port updated to the latest version
(5.46.0). I am going to test it for the next two weeks before I submit
it for approval. I got a lot of help from the ports at openbsd.org
mailing list.
One thing I discovered is that you actually have to be root to get
this to compile correctly. You can't su into root. Evidently su has
some restrictions. The OpenBSD Porters Handbook says to use doas for
the compiliation commands. Anyway, it is working.
One of the things I learned is that you can display the value of
variables by invoking make show= :
$ make show=MODTCL_BUILD_DEPENDS
tcl->=8.6,<8.7:lang/tcl/8.6
make show=WRKSRC
/usr/ports/pobj/maxima-5.46.0/maxima-5.46.0
$ make show=DESTDIR
/usr/ports/pobj/maxima-5.46.0/fake-amd64
make show=PORTSDIR
/usr/ports
$ make show=BUILD_DEPENDS
print/texinfo tcl->=8.6,<8.7:lang/tcl/8.6 tk->=8.6,<8.7:x11/tk/8.6
tcl->=8.6,<8.7:lang/tcl/8.6 lang/python/3.10 devel/gmake
I pass this on if anyone is interested in updating an OpenBSD port.
--
Kind regards,
Jonathan
More information about the Semibug
mailing list