Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Oct 2020 23:36:48 -0700
From:      "Ronald F. Guilmette" <rfg@tristatelogic.com>
To:        freebsd-ports@freebsd.org
Subject:   p5-HTML-Tree -- missing dependency
Message-ID:  <25054.1601966208@segfault.tristatelogic.com>

next in thread | raw e-mail | index | archive | help
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::Ent=
ities,
   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 ();

?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25054.1601966208>