Current tests goes fine, and actually show some existing problems because the "old" infrastructure is: - too complicated - bsd.port.mk lies about what's going on.
Namely, libspecs were apparently tied to the pkgspec in a LIB_DEPENDS. But that's not true ! bsd.port.mk was only using those specs as witness to see if the LIB_DEPENDS should be used as a RUN_DEPENDS, without ever checking that the lib came from THAT one. The new code *does* really check, for old style LIB_DEPENDS, that the libspec indeed comes from the right location. And lo and behold, I've already caught 3 ports which were attaching the wrong libspec to a given LIB_DEPENDS. So, "floating" the libspecs out is the right thing to do...
