Created attachment 151910 [details] Patch - Drop @dirrm's from generated plist - Try to remove ${DOC_DIR} in NOPORTDOCS case: it should be empty in that case anyway, and its presence breaks check-orphans.
I believe the changes in PR 197083 should address this.
I believe the changes in r382631 addressed this, please let me know if not.