Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2022 05:26:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267775] lang/ruby32: Fix plist error when both CAPIDOCS and DOCS options are on.
Message-ID:  <bug-267775-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267775

            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: ruby@FreeBSD.org
          Reporter: yasu@freebsd.org
             Flags: maintainer-feedback?(ruby@FreeBSD.org)
          Assignee: ruby@FreeBSD.org

Created attachment 238082
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D238082&action=
=3Dedit
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 un=
der
${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-p=
list
phase. So fix it by adding 3rd argument to ${COPYTREE_SHARE} command so
.timestamp is excluded from files to be copied.

Fixes:  b49bdb1fe468

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267775-7788>