freebsd / portmaster

FreeBSD port management script without external databases or languages
77 stars 40 forks source link

Dependencies are installed when not needed. #44

Open bdrewery opened 9 years ago

bdrewery commented 9 years ago

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 commented 9 years ago

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