[Slackbuilds-users] perl-xml-sax doinst.sh
Thomas Morper
thomas at beingboiled.info
Fri Sep 9 22:57:04 UTC 2011
Hello there,
While playing with some Perl modules I noticed that the doinst.sh for
perl-xml-sax won't work as expected because of a version- and platform-
dependent path that is hardcoded for Slackware 13.0 32-bit.
Fortunately, Perl itself knows the correct path, so the problem is easy
to fix with a doinst.sh like this:
---8<---
chroot . /usr/bin/perl -MConfig -MXML::SAX -e '
XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers
unless (-f $Config{installvendorlib} . "/XML/SAX/ParserDetails.ini");'
--->8---
Cheers!
--
http://beingboiled.info/slackware/
More information about the SlackBuilds-users
mailing list