The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.
Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.
Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
in pkgsrc-2014Q4, with the adaptation to build with libcmis-0.5
instead of libcmis-0.4 to allow build with more modern pkgsrc.
This should bring back a version of libreoffice which is buildable
on netbsd-6 -- it certainly builds for me on NetBSD/i386 6.1.5.