[Bug 258350] [new port] devel/p5-B-Debug: new port submission

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 07 Sep 2021 21:23:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258350

            Bug ID: 258350
           Summary: [new port] devel/p5-B-Debug: new port submission
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jkeenan@pobox.com

Created attachment 227744
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227744&action=edit
devel/p5-B-Debug: new port submission

Attached is a diff for a new submission to the FreeBSD ports tree.  The port is
for CPAN library B-Debug (https://metacpan.org/release/RURBAN/B-Debug-1.26).

The rationale for this port is as follows:

* B-Debug used to ship with the Perl 5 core distribution.  As such, if a port
of a Perl library had a dependency on B::Debug, that port simply had to depend
on perl itself.

* However, as of perl-5.30, released in the spring of 2019, B-Debug is no
longer shipped with the Perl 5 core distribution.  So at the present time it's
not available through FreeBSD ports.

* I recently tried to install CPAN library Devel-Cover via the p5-Devel-Cover
port.  While the installation appeared to succeed, actual usage of the 'cover'
utility failed with an exception message starting "Can't locate B/Debug.pm in
@INC (you may need to install the B::Debug module) ...".  I subsequently
installed B:::Debug using the standard 'cpan' utility, then installed
Devel::Cover the same way.  Thereafter, I was able to use Devel::Cover and
'cover' in the same way I have for 17 years.

* Though I have no particular fondness for B-Debug, the fact that it is a
prerequisite for an extremely useful Perl development library means that it
ought to exist in ports.  Once it is in, we should update the p5-Devel-Cover
port both to reflect this prerequisite and to bring it up to date with the
version on CPAN.

Please review the submission.

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