summaryrefslogtreecommitdiff
path: root/libraries/libasyncns
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libasyncns')
-rw-r--r--libraries/libasyncns/libasyncns.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/libasyncns/libasyncns.SlackBuild b/libraries/libasyncns/libasyncns.SlackBuild
index cb1bd78a48..6ca6f533c8 100644
--- a/libraries/libasyncns/libasyncns.SlackBuild
+++ b/libraries/libasyncns/libasyncns.SlackBuild
@@ -3,10 +3,11 @@
# Slackware build script for libasyncns
# Written by crocket (crockabiscuit@gmail.com)
+# Maintained by Christoph Willing <chris.willing@iinet.net.au>
PRGNAM=libasyncns
VERSION=${VERSION:-0.8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,6 +52,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Ensure correct libdir is specified by pkg-config database.
+sed -i -e "/^libdir/c libdir=\${exec_prefix}/lib$LIBDIRSUFFIX" libasyncns.pc.in
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \