[HEADSUP] Upcoming change in dependency registration
bapt at FreeBSD.org
Thu Jan 22 18:09:18 UTC 2015
Some changes are coming to the ports, the diff is rather simple, but the change
of behaviour is worse notifying all maintainers:
Currently and since very long the dependency registration in the ports tree is
based on the origin of the packages. which makes it unfriendly with FLAVORS and
The ports tree has been changed in the branch
so now it basically do the same kind of mechanism which is done during the
different -depends targets, which means it is passing through all the
LIB_DEPENDS resolving the dependency pattern into a filename:
libintl.so -> /usr/local/lib/libintl.so.8.1.2 then from that path determine the
package which should be registered in the dependencies
it is walking through all the run depends resolving the dependency pattern the
if the pattern is a package schema: pkgconf>0 then it tries to figure out which
package should be registered in the dependencies via: pkg info -Eg "pattern"
if the pattern is a word it tries to lookup in the PATH for a file and then
which package this files belongs to.
if the package is an absolute path it will depends on the package this file
While this change sounds a bit simple it is very important, because it fixes
people trying to build twice the same py-something port with python3 and python2
ending up with wrong dependency registration.
It also allows so start working on FLAVORS and SUBPACKAGES for real (more to
come in that area soon).
What will change from User PoV: nothing
What will change from Maintainer PoV, very few, except that if the dependency
pattern is a file or an element to be resolved as a file please ensure that the
said file belongs to a package (versus is being generated during post-install
Last side effect it also prepare the way to be able to depend on provides and
depend correctly on "smart dep" aka "perl5>=5.18.2_3<5.20"
This change is being exp-run and will be committed as soon as it is stable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 181 bytes
Desc: not available
More information about the freebsd-ports