i thought about this some more ... why do we even care about the mtimes during package merge ? if a package doesnt install any files into a libdir, why should we bother running ldconfig ? if a user updated the dirs, then they can either run ldconfig or env-update ...
so imo, the logic should be: if srcroot is None: <mtime checks> else: <libdir existence checks> -mike -- gentoo-portage-dev@gentoo.org mailing list