summaryrefslogtreecommitdiff
path: root/libraries/libnxml
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libnxml')
-rw-r--r--libraries/libnxml/libnxml.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/libnxml/libnxml.SlackBuild b/libraries/libnxml/libnxml.SlackBuild
index ff2b366f7f..41ed54d302 100644
--- a/libraries/libnxml/libnxml.SlackBuild
+++ b/libraries/libnxml/libnxml.SlackBuild
@@ -5,7 +5,7 @@
PRGNAM=libnxml
VERSION=0.18.3
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -70,6 +70,9 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# Fix libdir in the pkgconfig file
+sed -i "s|/lib$|/lib$LIBDIRSUFFIX|" $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/nxml.pc
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION