summaryrefslogtreecommitdiff
path: root/misc/mosquitto
diff options
context:
space:
mode:
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