How about apply the following patch? I feel that even if USE_DESTDIR=yes, target based DEPENDS_TARGET setting should be preferred. (and replace-destdir target should be fixed, because if DEPENDS_TARGET=replace and depending packages is not installed yet, it will not work as expected). Do you mean: when doing update, and the dependency already exists, then DEPENDS_TARGET should be forced to replace?
Description: PGP signature