Date: Wed, 02 Jul 2014 12:56:24 +0200 From: Harry Schmalzbauer <freebsd@omnilan.de> To: pkg@FreeBSD.org Subject: Re: USE_PACKAGE_DEPENDS dependencies and ports fallback Message-ID: <53B3E558.90607@omnilan.de> In-Reply-To: <53B3D3BE.5040007@omnilan.de> References: <53B3D3BE.5040007@omnilan.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Bezüglich Harry Schmalzbauer's Nachricht vom 02.07.2014 11:41 (localtime):
> Hello,
>
> please set me CC, I'm not subscribed, thanks.
>
> I set USE_PACKAGE_DEPENDS together with PKGNG(=devel) on 9.2.
…
> Since I'm doing a port build, I expect that devel/oniguruma4 will be
> built, as long as USE_PACKAGE_DEPENDS_ONLY is _not_ set (which reflects
> my state).
> It seems to work so for 'first-level-dependencies', but seems to fail
> for dependencies of a dependency (my very first guess, haven't falsified
> yet).
Done so.
It's true that as soon as USE_PACKAGE_DEPENDS is set, only the first
dependency will be checked if it's going to be installed as package or
build has to run.
In bsd.port.mk: _INSTALL_DEPENDS=
if [ -n "${USE_PACKAGE_DEPENDS}" -o -n "${USE_PACKAGE_DEPENDS_ONLY}" ];
then \
…
if [ -r "$${subpkgfile}" -a "$$target" = "${DEPENDS_TARGET}" ]; then \
…
if [ -n "${WITH_PKGNG}" -a $${subpkgname} = "pkg" ]; then \
…
else \
if [ -n "${WITH_PKGNG}" ]; then \
_pkg_add_a="-A"; \
fi; \
${PKG_ADD} $${_pkg_add_a} $${subpkgfile}; \
Now to solve this, I guess it was needed to do binary-depends-resolving
at this place, right? Or is there a easier way (altering DEPENDS_TARGET
eg., sorry, don't know bsd.port.mk well, so starting from scratch…)
Is this issue hitting anybody else?
Thanks,
-Harry
P.S.: please set me CC, I'm not subscribed, thanks.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53B3E558.90607>
