diff options
-rw-r--r-- | perl/perl-xml-libxml/doinst.sh | 9 | ||||
-rw-r--r-- | perl/perl-xml-libxml/perl-xml-libxml.SlackBuild | 3 |
2 files changed, 6 insertions, 6 deletions
diff --git a/perl/perl-xml-libxml/doinst.sh b/perl/perl-xml-libxml/doinst.sh index ea301fb961..37c9498be7 100644 --- a/perl/perl-xml-libxml/doinst.sh +++ b/perl/perl-xml-libxml/doinst.sh @@ -1,6 +1,5 @@ # Update SAX parsers -chroot . -/usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()" 1>/dev/null -/usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()" 1>/dev/null - - +chroot . \ + /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX::Parser))->save_parsers()" 1>/dev/null +chroot . \ + /usr/bin/perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML::SAX))->save_parsers()" 1>/dev/null diff --git a/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild b/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild index 429901f014..81ba159e70 100644 --- a/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild +++ b/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild @@ -13,7 +13,7 @@ SRCNAM=XML-LibXML if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -68,6 +68,7 @@ chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |