On 08/12/2020 10:25, Thomas Klausner wrote:
That feels like something that should be documented rather than telling users to overwrite system binaries unconditionally.It will work fine without this line, but if an admin has the path set up so that /usr/sbin/ comes before /usr/pkg/sbin, then they will get two independent pkgdb directories.
Should pkgsrc be really dependent of system path here. It should surely be using its own preference of pkgsrc pkg tools if its going to the trouble of building them otherwise its always going to be at the mercy of the system path for the build.
Mike