While looking at ports that might need to include p5-Pod-Parser that got
removed from core in perl 5.32, I came across mrtg where it has been
installing really old versions of core modules.

(I only tried that it built, not that it actually worked as I don't
actually run mrtg anywhere)

Comments, OK (with REVISION bump)?

$ grep \\.pm /usr/ports/textproc/p5-Pod-Parser/pkg/PLIST          
${P5SITE}/Pod/Find.pm
${P5SITE}/Pod/InputObjects.pm
${P5SITE}/Pod/ParseUtils.pm
${P5SITE}/Pod/Parser.pm
${P5SITE}/Pod/PlainText.pm
${P5SITE}/Pod/Select.pm

$ ls /usr/libdata/perl5/Pod/Usage.pm                              
/usr/libdata/perl5/Pod/Usage.pm


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/mrtg/Makefile,v
retrieving revision 1.93
diff -u -p -r1.93 Makefile
--- Makefile    12 Jul 2019 20:48:32 -0000      1.93
+++ Makefile    8 Mar 2021 00:27:14 -0000
@@ -21,7 +21,8 @@ BUILD_DEPENDS=        textproc/groff
 RUN_DEPENDS=   net/p5-IO-Socket-INET6 \
                net/p5-Net-SNMP \
                net/p5-SNMP_Session \
-               net/rrdtool
+               net/rrdtool \
+               textproc/p5-Pod-Parser
 LIB_DEPENDS=   graphics/gd
 
 CONFIGURE_STYLE= autoconf
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/mrtg/pkg/PLIST,v
retrieving revision 1.29
diff -u -p -r1.29 PLIST
--- pkg/PLIST   13 Jul 2018 07:56:05 -0000      1.29
+++ pkg/PLIST   8 Mar 2021 00:27:14 -0000
@@ -9,12 +9,12 @@ bin/mrtg-traffic-sum
 @bin bin/rateup
 libdata/perl5/site_perl/MRTG_lib.pm
 libdata/perl5/site_perl/Net_SNMP_util.pm
-libdata/perl5/site_perl/Pod/
-libdata/perl5/site_perl/Pod/InputObjects.pm
-libdata/perl5/site_perl/Pod/Parser.pm
-libdata/perl5/site_perl/Pod/PlainText.pm
-libdata/perl5/site_perl/Pod/Select.pm
-libdata/perl5/site_perl/Pod/Usage.pm
+@comment core perl or p5-Pod-Parser
+@comment libdata/perl5/site_perl/Pod/InputObjects.pm
+@comment libdata/perl5/site_perl/Pod/Parser.pm
+@comment libdata/perl5/site_perl/Pod/PlainText.pm
+@comment libdata/perl5/site_perl/Pod/Select.pm
+@comment libdata/perl5/site_perl/Pod/Usage.pm
 libdata/perl5/site_perl/locales_mrtg.pm
 @man man/man1/cfgmaker.1
 @man man/man1/indexmaker.1

Reply via email to