aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-xml-sax/perl-xml-sax.post-install
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2016-05-17 14:37:18 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2016-05-17 14:37:18 +0000
commit06fd324bb5b52d284a5ad794dab51b7854ad4a7d (patch)
tree7842bfe74b8cfcef21c71163c5b70c95faecace7 /main/perl-xml-sax/perl-xml-sax.post-install
parent5c21139aadb64d9568630707a491957ac3b56713 (diff)
downloadaports-06fd324bb5b52d284a5ad794dab51b7854ad4a7d.tar.gz
aports-06fd324bb5b52d284a5ad794dab51b7854ad4a7d.tar.bz2
aports-06fd324bb5b52d284a5ad794dab51b7854ad4a7d.tar.xz
main/perl-xml-sax: move to main for building docbook2x
Diffstat (limited to 'main/perl-xml-sax/perl-xml-sax.post-install')
-rw-r--r--main/perl-xml-sax/perl-xml-sax.post-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/perl-xml-sax/perl-xml-sax.post-install b/main/perl-xml-sax/perl-xml-sax.post-install
new file mode 100644
index 0000000000..cada1f32b9
--- /dev/null
+++ b/main/perl-xml-sax/perl-xml-sax.post-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Registers the SAX parser into the registry.
+
+LC_ALL=C perl -MXML::SAX -e \
+ "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" 2>&1 >/dev/null