https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267775

            Bug ID: 267775
           Summary: lang/ruby32: Fix plist error when both CAPIDOCS and
                    DOCS options are on.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

Created attachment 238082
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238082&action=edit
Patch file

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to