Thanks pin, all worked fine. For other people who may run into this:
Background, I compiled emacs29 for use with gtk2 via pksrc due to gkt3 issues.
When I do a "pkgin update", emacs would be replaced by the emacs package that uses gtk3. My work around is:
- pkgin remove emacs29-29.4nb3
- pkgin update
- pkg_add emacs29-29.4nb3.tgz
When I built emacs the package was saved in dir "/usr/pkg/pkgsrc/packages/All/". I had copied it to a save dir to be sure it would not get lost.
This tread can be considered solved