diff --git a/libraries/cpp-jwt/cpp-jwt.SlackBuild b/libraries/cpp-jwt/cpp-jwt.SlackBuild index 48384af627..e2244cce45 100644 --- a/libraries/cpp-jwt/cpp-jwt.SlackBuild +++ b/libraries/cpp-jwt/cpp-jwt.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for cpp-jwt -# Copyright 2022 Steven Voges +# Copyright 2022-2023 Steven Voges # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cpp-jwt VERSION=${VERSION:-1.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,9 @@ 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 version so cmake can fine the proper files. +sed -i "s/1.2.0/1.4.0/g" CMakeLists.txt + mkdir -p build cd build cmake \