aboutsummaryrefslogtreecommitdiff
path: root/games/freeminer
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-09-08 16:20:02 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-12 08:10:54 +0700
commitbc024e75c2c26fa8fbc9b4a398c0ea131e096a34 (patch)
treee156727b6bb1c999c6e27a0d519f9c4c859fdc5d /games/freeminer
parentc3b624b6d997e0145bbd9827af9208274dad4c5b (diff)
games/freeminer: Update script.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/freeminer')
-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 174bec3a3e979..df671af79dd38 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