svn commit: r519284 - head/Mk
Lars Engels
lars.engels at 0x20.net
Sun Dec 8 17:19:15 UTC 2019
On Sun, Dec 08, 2019 at 12:54:20PM +0100, Mathieu Arnold wrote:
> On Sun, Dec 08, 2019 at 10:19:38AM +0000, Lars Engels wrote:
> > +# Install missing dependencies from package
> > +install-missing-packages:
> > + @_dirs=$$(${MISSING-DEPENDS-LIST}); \
> > + ${PKG_BIN} install -A $$(${ECHO} $${_dirs} | ${SED} "s%${PORTSDIR}/%%g")
>
> While this seems to be ok, it will fail in most cases.
>
> You cannot install packages using their origin. It will install all
> available flavors, and in many many cases, flavors conflict with each
> others.
> Also, when subpackages come along, it will install all the subpackages
> of a port.
>
> You need to get the actuall package names that a port depends on, and
> use that to run pkg install on.
Hmm, you're right.
Is there a way to get the actual package names?
More information about the svn-ports-head
mailing list