On Oct 19, 2008, at 4:51 AM, Martin Costabel wrote: > David Reiser wrote: >> >> On Oct 18, 2008, at 8:15 AM, Martin Costabel wrote: > [] >>> There is, however, also a "real" html-tree-pm588 package. Run >>> >>> fink install html-tree-pm588 >>> >>> and see if this helps. >> >> That at least solves the building problem. Is there a workaround to >> force users to install it despite the claim it is provided? > > Yes. If the BuildDepends is versioned, that is > > html-tree-pm%type_pkg[perl] (>= 3.23-1) > > instead of simply > > html-tree-pm%type_pkg[perl] > > then it will pull in the real package, because virtual packages are > unversioned. > > The correct fix would be to change the list of provided packages in > /sw/lib/perl5/Fink/VirtPackage.pm, around line 320. The line > 'html-parser' should not be inside a "if ($perlver >= 5.008006)" > clause, > because it does not come with perl588, but it should be in a separate > "if ($perlver == 5.008006)" clause.
I've looked at this some more, and I think it's simpler. html-parser looks to me to be provided by both 5.8.6 and 5.8.8, but html-tree is provided by neither. Consequently, I think the fix is to delete line 339 of VirtPackage.pm so that html-tree does not appear in the "if ($perlver >= 5.008008)" clause. Dave -- David Reiser [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel