[Bug 257525] lang/ruby26: add DTRACE option

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 01 Aug 2021 09:44:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257525

            Bug ID: 257525
           Summary: lang/ruby26: add DTRACE option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ruby@FreeBSD.org
          Reporter: evgeniy@khramtsov.org
             Flags: maintainer-feedback?(ruby@FreeBSD.org)
          Assignee: ruby@FreeBSD.org
 Attachment #226826 maintainer-approval?
             Flags:
             Flags: maintainer-feedback?

Created attachment 226826
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226826&action=edit
v1 (use "git am")

- add DTRACE option for user to decide

lang/ruby26 assumes that DTrace support is guarded by exists() check,
failing when base toolchain is removed, and instead external toolchain
is provided by ports via /usr/local/share/toolchains/*.mk inclusion.

- remove ${OPSYS} == "FreeBSD" check

DTrace does not exist on DragonFly BSD, the only known consumer of FreeBSD
ports.

- Bump PORTREVISION per [1]

poudriere testport (post-patch) Tier 1 arch logs:
https://codeberg.org/ei/misc/commit/22ec334270277410067b24f9120022837cc1216d

poudriere bulk diff (post-patch) Tier 1 arch logs:
https://codeberg.org/ei/misc/commit/40a03285b80d6b49a49f8755ac97aefb493689b4

poudriere package diff (post-patch) Tier 1 arch logs [1]:
https://codeberg.org/ei/misc/commit/8f6a59914e4acd5f57633935d07ae73985c0af08

Note, 11.4 has modified usr/local/lib/libruby* entries. This is not caused
by this change, instead caused by any rebuild instead. Apparently, timestamp
or something else gets baked in on 11.4, so 11.4 Ruby is not reproducible. I
don't know any tool to diff binaries to tell what exactly is not reproducible.

RUBY_PORTREVISION bump is not included in this patch, git commit --amend
if committing.

UPDATING entry is not needed, the default behaviour of port did not change,
users who disable DTRACE globally will get notified via "options changed"
of poudriere.

lang/ruby27 change should follow shortly.

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