Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2019 18:19:14 +0100
From:      Lars Engels <lars.engels@0x20.net>
To:        Mathieu Arnold <mat@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r519284 - head/Mk
Message-ID:  <20191208171914.GU5400@e.0x20.net>
In-Reply-To: <20191208115420.c4pjy4lygxllnxgv@atuin.in.mat.cc>
References:  <201912081019.xB8AJc4D022130@repo.freebsd.org> <20191208115420.c4pjy4lygxllnxgv@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191208171914.GU5400>