Fix install-missing-packages r519284 introduced a new target, install-missing-packages, which is meant to allow users to install dependencies via pkg(8) instead of building them themselves locally. The target was producing errors when the dependencies were already available on the system. This commit adjusts this behavior to just silently do nothing if everything is fine. Also, remove some trailing whitespace introduced in the original commit.
Other considerations:
- In the past users were using one-liners like make missing | xargs pkg install --automatic --yes to install dependencies from packages (as documented in ports(7)). Unfortunately, the both the implementation of install-missing-packages and the one-liner install all the packages associated with the origin, which is usually not desired. I wonder if there is a way to, for example, install only the required flavor of a Python port instead of all the available ones when installing a Python dependency this way.
- The manual page for ports has to be updated. I'll do it soon.