diff options
author | Christoph Willing <chris.willing@iinet.net.au> | 2014-08-11 20:08:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-15 23:21:22 +0700 |
commit | 4bc80aad644382a0607a300f60411530bf7ff229 (patch) | |
tree | 16dab43b87f9b2695cf242fdd1fe606497f2f23a /libraries | |
parent | 71daa824f75d22807e237ce609af29d97c9e2088 (diff) |
libraries/libasyncns: Fix libdir.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libasyncns/libasyncns.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/libasyncns/libasyncns.SlackBuild b/libraries/libasyncns/libasyncns.SlackBuild index cb1bd78a48b5..6ca6f533c807 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 \ |