Date: Wed, 18 Feb 2015 17:31:54 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-ports-bugs@freebsd.org Subject: Re: change in how dependencies are recorded Message-ID: <54E4CC8A.1070204@FreeBSD.org> In-Reply-To: <CALd%2BdcfrkMyR7-s-Hq98cqN=adZyCU73R%2BbxXNm_xJsL3hRL0w@mail.gmail.com> References: <CALd%2BdcfrkMyR7-s-Hq98cqN=adZyCU73R%2BbxXNm_xJsL3hRL0w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2015/02/18 17:15, Vick Khera wrote: > I traced it down to the following RUN_DEPENDS: > > emacs>=23.3:${PORTSDIR}/editors/emacs-nox11 \ > > This was confusing the dependency registration of the port; that is, "make > depends" would notice it needed emacs, then install it. However, when "make > install" would run, the resulting package did not register the dependency > for emacs. The fix was to remove the ">=23.3" version check. My suspicion > is that it has something to do with emacs-nox11 being a slave port. This is because a RUN_DEPENDS like emacs>=23.3:${PORTSDIR}.... means 'check for a package called "emacs" and make sure its version is at least 23.3' whereas a RUN_DEPENDS like emacs:${PORTSDIR}... means 'check for the presence of an executable named emacs on $PATH' which works because either the emacs or emacs-nox11 packages will provide an emacs binary, but obviously doesn't allow for checking the version numbers. So emacs>=23.3:${PORTSDIR}/editors/emacs-nox11 is non-sensical, and should probably be rewritten as emacs-nox11>=23.3:${PORTSDIR}/editors/emacs-nox11 Cheers, Matthew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54E4CC8A.1070204>