system/sysdig: Fix building against newer jsoncpp.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Larry Hajali 2015-09-14 06:50:23 +07:00 committed by Willy Sudiarto Raharjo
parent 923c8b6754
commit 623c591691

View file

@ -24,7 +24,7 @@
PRGNAM=sysdig
VERSION=${VERSION:-0.1.104}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -71,8 +71,6 @@ 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 jsoncpp header file location.
sed -i 's|json/|jsoncpp/|g' CMakeLists.txt userspace/libsinsp/*.{h,cpp}
# Fix manpage location
sed -i 's|share/||' userspace/sysdig/man/CMakeLists.txt