[Bug 270258] textproc/p5-Pod-XML: doesn't install dependency, textproc/p5-Pod-Parser

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 16 Mar 2023 00:15:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270258

            Bug ID: 270258
           Summary: textproc/p5-Pod-XML: doesn't install dependency,
                    textproc/p5-Pod-Parser
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: perl@FreeBSD.org
          Reporter: ngie@FreeBSD.org
          Assignee: perl@FreeBSD.org
             Flags: maintainer-feedback?(perl@FreeBSD.org)

p5-Pod-XML requires p5-Pod-Parser, as shown below, but doesn't call out the
dependency:
```
$ pod2xml /home/ngie/git/openssl/1.1/doc/man3/CMS_encrypt.pod
Can't locate Pod/Parser.pm in @INC (you may need to install the Pod::Parser
module) (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.32
/usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.32/mach
/usr/local/lib/perl5/5.32) at /usr/local/lib/perl5/site_perl/Pod/XML.pm line 9.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/Pod/XML.pm
line 9.
Compilation failed in require at /usr/local/bin/pod2xml line 26.
BEGIN failed--compilation aborted at /usr/local/bin/pod2xml line 26.
```
Once I install p5-Pod-Parser, everything is copacetic:
```
$ pod2xml /home/ngie/git/openssl/1.1/doc/man3/CMS_encrypt.pod | head -n 10
<?xml version='1.0' encoding='iso-8859-1'?>
<pod xmlns="http://axkit.org/ns/2000/pod2xml">
<head>
<title>CMS_encrypt - create a CMS envelopedData structure</title>
</head>
<sect1>
<title>NAME</title>
<para>
CMS_encrypt - create a CMS envelopedData structure
</para>
```

Diff:
```
$ git diff textproc/p5-Pod-XML/Makefile 
diff --git a/textproc/p5-Pod-XML/Makefile b/textproc/p5-Pod-XML/Makefile
index a83a26ebcb52..6a7edeabc5a2 100644
--- a/textproc/p5-Pod-XML/Makefile
+++ b/textproc/p5-Pod-XML/Makefile
@@ -11,6 +11,7 @@ WWW=          https://metacpan.org/release/Pod-XML

 BUILD_DEPENDS= ${RUN_DEPENDS}
 RUN_DEPENDS=   p5-IO-Stringy>=0:devel/p5-IO-Stringy
+RUN_DEPENDS=   p5-Pod-Parser>=0:devel/p5-Pod-Parser
 TEST_DEPENDS=  p5-Test-File-Contents>=0:devel/p5-Test-File-Contents

 USES=          perl5
```

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