p5-HTML-Tree -- missing dependency

Ronald F. Guilmette rfg at tristatelogic.com
Tue Oct 6 06:36:57 UTC 2020


Greetings,

I have some old code I'm trying to get running again.  It uses the
Perl module HTML::TreeBuilder (aka www/p5-HTML-Tree).

I did the following:

# pkg install p5-HTML-Tree

which completed with no problems, but now it appears that my installed
version of HTML::TreeBuilder craps out at:

    /usr/local/lib/perl5/site_perl/HTML/TreeBuilder.pm line 59.

Looking at that source line, I see the following:

    use HTML::Entities ();

I have looked in my ports tree to see if an appropriate port/pkg might
be available to satisfy this dependency, but all I am finding is these
things, none of which appear to fit the bill:

textproc/p5-HTML-Entities-ImodePictogram
textproc/p5-HTML-Entities-Interpolate
textproc/p5-HTML-Entities-Numbered
textproc/p5-HTML-HTML5-Entities
textproc/p5-MathML-Entities
textproc/p5-XML-DoubleEncodedEntities
textproc/p5-XML-Entities

Shouldn't the installation of a particular pre-built package such as
the p5-HTML-Tree force all of its dependencies to also be automagically
installed?

How do I fix this problem?

The descr file associated with the textproc/p5-HTML-HTML5-Entities package
says:

   HTML::HTML5::Entities is a pure Perl, drop-in replacement for HTML::Entities,
   providing the character entities defined in HTML5.

So should I just install that and then manually exit the source line
quoted above so that it says instead:

    use HTML::HTML5::Entities ();

?




More information about the freebsd-ports mailing list