summaryrefslogtreecommitdiffstats
path: root/system/lsyncd/lsyncd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/lsyncd/lsyncd.SlackBuild')
-rw-r--r--system/lsyncd/lsyncd.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/system/lsyncd/lsyncd.SlackBuild b/system/lsyncd/lsyncd.SlackBuild
index 25f5143c98..35e731ed72 100644
--- a/system/lsyncd/lsyncd.SlackBuild
+++ b/system/lsyncd/lsyncd.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lsyncd
-VERSION=${VERSION:-2.2.2}
+VERSION=${VERSION:-2.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,7 +70,11 @@ 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 {} \;
-cmake \
+# move 5.3 to the beginning
+sed -i 's,SET(_POSSIBLE_SUFFIXES "52" "5.2" "-5.2" "53" "5.3" "-5.3" ""), \
+ SET(_POSSIBLE_SUFFIXES "5.3" "52" "5.2" "-5.2" "53" "5.3" "-5.3" ""),' cmake/FindLua.cmake
+
+LUA_DIR=/usr/include/lua5.3 cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr .