perl-XML-SAX: use post_stow().
--HG-- extra : convert_revision : 4f74a2f083291cb1d1d78e21547e1b3b66252d1f
This commit is contained in:
parent
16ea74c212
commit
6ce52c18af
1 changed files with 9 additions and 0 deletions
|
@ -16,3 +16,12 @@ long_desc="
|
||||||
noarch=yes
|
noarch=yes
|
||||||
Add_dependency full perl
|
Add_dependency full perl
|
||||||
Add_dependency full perl-XML-NamespaceSupport
|
Add_dependency full perl-XML-NamespaceSupport
|
||||||
|
|
||||||
|
post_stow()
|
||||||
|
{
|
||||||
|
# Register the SAX parsers into the registry.
|
||||||
|
LC_ALL=C perl -MXML::SAX -e \
|
||||||
|
"XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" \
|
||||||
|
2>&1 >/dev/null
|
||||||
|
[ $? -eq 0 ] && echo "Added parser to XML::SAX registry."
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue