summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/freeminer/freeminer.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/freeminer/freeminer.SlackBuild b/games/freeminer/freeminer.SlackBuild
index 174bec3a3e..df671af79d 100644
--- a/games/freeminer/freeminer.SlackBuild
+++ b/games/freeminer/freeminer.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=freeminer
VERSION=${VERSION:-0.4.13.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,7 +71,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix jsoncpp detection.
-sed -i 's|json/|jsoncpp/|' src/*.{h,cpp} src/script/*/*.cpp cmake/Modules/FindJson.cmake
+sed -i '/find_path/s|)| /usr/include/jsoncpp)|' cmake/Modules/FindJson.cmake
mkdir -p build
cd build