USE_PACKAGE_DEPENDS dependencies and ports fallback
Harry Schmalzbauer
freebsd at omnilan.de
Wed Jul 2 10:56:28 UTC 2014
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.
More information about the freebsd-pkg
mailing list