The sysbuild.sh has the logic:
if [ "x${PKG_DIR}" != "x" -a -f ${PKG_DIR}/$pn.txz ] ; then
if [ "x$use_pkg" = "x-p" ] ; then
log_it "Install $t ($pn)"
(
set +e
pkg add ${PKG_DIR}/$pn.txz || true
) > _.$b 2>&1 < /dev/null
continue
fi
fiwhich is the only "pkg add" in the code. Ignoring $FreeBSD$ removals, the script was last modified on 2021-06-30 . (I ran into this while looking for something else via a fairly general grep. I'm not using the script.) === Mark Millard marklmi at yahoo.com
