Date: Sun, 3 May 2015 12:27:36 -0700 (PDT) From: Roger Marquis <marquis@roble.com> To: freebsd-ports@freebsd.org Cc: freebsd-pkg@freebsd.org Subject: Re: Broken _DEPENDS logic In-Reply-To: <alpine.BSF.2.11.1505022127140.30964@eboyr.pbz> References: <alpine.BSF.2.11.1505022127140.30964@eboyr.pbz>
| previous in thread | raw e-mail | index | archive | help
Short of editing mail/mailman/Makefile and building the port is there a
way force 'pkg install' to just install a package and ignore its
dependencies? The man page doesn't indicate any such logic (a difference
from other package managers).
Roger
> Found why mailman is trying (and failing) to reinstall postfix and it
> appears to be a bug in other ports as well.
>
> # cd /usr/ports/mail && grep '_DEPENDS+=.*postfix' */Makefile
> dk-milter/Makefile:RUN_DEPENDS+=
> ${LOCALBASE}/libexec/postfix/smtpd:${PORTSDIR}/mail/postfix-current
> dk-milter/Makefile:RUN_DEPENDS+=
> ${LOCALBASE}/libexec/postfix/smtpd:${PORTSDIR}/mail/postfix
> drac/Makefile:RUN_DEPENDS+= postfix:${PORTSDIR}/mail/postfix
> enma/Makefile:RUN_DEPENDS+=
> ${LOCALBASE}/libexec/postfix/smtpd:${PORTSDIR}/mail/postfix-current
> enma/Makefile:RUN_DEPENDS+=
> ${LOCALBASE}/libexec/postfix/smtpd:${PORTSDIR}/mail/postfix
> mailman/Makefile:BUILD_DEPENDS+=
> /usr/sbin/postconf:${PORTSDIR}/mail/postfix
> mailman/Makefile:RUN_DEPENDS+= /usr/sbin/postconf:${PORTSDIR}/mail/postfix
>
> Shouldn't these ports be querying the pkg db rather than checking for a
> particular file, particularly when the file is incorrectly specified?
>
> Roger
>
