aboutsummaryrefslogtreecommitdiff
path: root/libraries/libasyncns
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@iinet.net.au>2014-08-11 20:08:53 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-15 23:21:22 +0700
commit4bc80aad644382a0607a300f60411530bf7ff229 (patch)
tree16dab43b87f9b2695cf242fdd1fe606497f2f23a /libraries/libasyncns
parent71daa824f75d22807e237ce609af29d97c9e2088 (diff)
libraries/libasyncns: Fix libdir.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 cb1bd78a48b55..6ca6f533c8076 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 \