portmaster icon indicating copy to clipboard operation
portmaster copied to clipboard

Dependencies are installed when not needed.

Open bdrewery opened this issue 10 years ago • 1 comments

For all of the _DEPENDS lists the first column defines when the dependency is needed. It may be a binary in the path, a package, or a library. Portmaster is ignoring this field and always installing the dependency when the ports framework may have actually skipped installing it. This is easily seen with base utility dependencies such as in security/keychain. It has a dependency on ssh-agent:${PORTSDIR}/security/openssh-portable that is only needed to be installed if ssh-agent is not installed.

bdrewery avatar May 14 '15 18:05 bdrewery

Same issue in portupgrade https://github.com/freebsd/portupgrade/issues/62

bdrewery avatar May 14 '15 18:05 bdrewery