summaryrefslogtreecommitdiff
path: root/misc/mosquitto
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-28 21:35:13 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-28 21:35:13 -0500
commitf7832e4ac9ebcf539427f38561efd49d21c9c3c1 (patch)
treec32e0c1c38846b611d0d8ec47dac4a8029da7ab6 /misc/mosquitto
parenteb0951715ba090496050904dc6a66dce359a5912 (diff)
downloadslackbuilds-f7832e4ac9ebcf539427f38561efd49d21c9c3c1.tar.gz
misc/mosquitto: Fixed LIBDIRSUFFIX oversight
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/mosquitto')
-rw-r--r--misc/mosquitto/mosquitto.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/misc/mosquitto/mosquitto.SlackBuild b/misc/mosquitto/mosquitto.SlackBuild
index 3d78bbfa5c..a06755be66 100644
--- a/misc/mosquitto/mosquitto.SlackBuild
+++ b/misc/mosquitto/mosquitto.SlackBuild
@@ -71,13 +71,12 @@ find . \
mkdir build
cd build
-cmake ../ \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=64 \
-
-make
-make install DESTDIR=$PKG
-cd -
+ cmake ../ \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ make
+ make install DESTDIR=$PKG
+cd ..
# Preserve existing mosquitto.conf during package installation
mv $PKG/etc/mosquitto/mosquitto.conf $PKG/etc/mosquitto/mosquitto.conf.new