Good morning. I think the reason why the automatic flag in pkg is not up is because there is an .undef here. https: //cgit.freebsd.org /ports/tree/ports-mgmt/pkg/Makefile#n72
The package pkg is guessed to have been installed by a manual operation by the bootstrap pkg. (This has not been confirmed.) Regards.