summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerardo Zamudio <gerardo.zamudio@linux.com>2016-11-28 00:21:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-28 05:44:22 +0700
commit20f0b49364ff11af7f7bdce86912fb149e90d67a (patch)
tree40a9a812c462e4a499147fdb91322f0bc75b9494
parent3501bb89e417d73f043bf0b342a3d018ecd64e49 (diff)
downloadslackbuilds-20f0b49364ff11af7f7bdce86912fb149e90d67a.tar.gz
network/prosody: Use libdir parameter.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/prosody/prosody.SlackBuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/network/prosody/prosody.SlackBuild b/network/prosody/prosody.SlackBuild
index 9d55d2ac64..92fe55a233 100644
--- a/network/prosody/prosody.SlackBuild
+++ b/network/prosody/prosody.SlackBuild
@@ -87,10 +87,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fix path on x86_64
-sed -i "s|/lib/|/lib${LIBDIRSUFFIX}/|" Makefile
-sed -i "s|/lib/|/lib${LIBDIRSUFFIX}/|" tools/migration/Makefile
-
./configure \
--ostype=linux \
--prefix=/usr \
@@ -99,6 +95,7 @@ sed -i "s|/lib/|/lib${LIBDIRSUFFIX}/|" tools/migration/Makefile
--with-lua=/usr \
--with-lua-lib=/usr/lib${LIBDIRSUFFIX} \
--with-lua-include=/usr/include \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--cflags="-fPIC -Wall ${SLKCFLAGS}"
make