aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdev/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild b/dev/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild
index 8dfd665a..01bbce56 100755
--- a/dev/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild
+++ b/dev/perl/perl-xml-libxml/perl-xml-libxml.SlackBuild
@@ -89,6 +89,10 @@ tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TA
PKG_SRC=`ls -l | awk '/^d/ { print $8 }'`
cd "$PKG_SRC"
+# Makefile fix
+eval $(perl '-V:sitelibexp')
+sed -i -e "s,\(-MXML::SAX\),-I${PKG}/${sitelibexp} \1," Makefile.PL
+
# Configure
perl Makefile.PL || exit $ERROR_CONF