maintainer-feedback requested: [Bug 267775] lang/ruby32: Fix plist error when both CAPIDOCS and DOCS options are on.
Date: Tue, 15 Nov 2022 05:26:09 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-ruby (Nobody) <ruby@FreeBSD.org> for maintainer-feedback: Bug 267775: lang/ruby32: Fix plist error when both CAPIDOCS and DOCS options are on. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267775 --- Description --- When the both options are on, post-install-DOCS-on target is called after post-install-CAPIDOCS-on has completed. And in the former files under ${WRKSRC}/doc/ are copied to ${STAGEDIR}${RUBY_DOCDIR}. This means files under ${WRKSRC}/doc/capi are copied to ${STAGEDIR}${RUBY_DOCDIR}/capi again. And of course ${WRKSRC}/doc/capi/.timestamp is included in them. As a result, even though ${STAGEDIR}${RUBY_DOCDIR}/capi/.timestamp is removed in post-install-CAPIDOCS-on target, it is detected as orphaned file at check-plist phase. So fix it by adding 3rd argument to ${COPYTREE_SHARE} command so .timestamp is excluded from files to be copied. Fixes: b49bdb1fe468