summaryrefslogtreecommitdiff
path: root/development/cppcheck
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-06 11:08:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-06 11:08:40 +0700
commitab7921c927cab85e2a4ebf3bdda612679ae2ebe0 (patch)
tree34f5868a39492d7d1c622fead63b7232e50c77c7 /development/cppcheck
parentf7799c16bbbf2c8c1ce01a550550228132996f31 (diff)
downloadslackbuilds-ab7921c927cab85e2a4ebf3bdda612679ae2ebe0.tar.gz
development/chppcheck: Fix runtime issue.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/cppcheck')
-rw-r--r--development/cppcheck/cppcheck.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/development/cppcheck/cppcheck.SlackBuild b/development/cppcheck/cppcheck.SlackBuild
index a37e8df5c1..abd23a35eb 100644
--- a/development/cppcheck/cppcheck.SlackBuild
+++ b/development/cppcheck/cppcheck.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=cppcheck
VERSION=${VERSION:-1.76}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
MAKEMAN=${MAKEMAN:-yes}
@@ -69,10 +69,10 @@ 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 {} \;
-make \
+make install \
CFLAGS="$SLKCFLAGS -Wall -Wextra -pedantic -Wno-long-long -DNDEBUG" \
- CXXFLAGS="$SLKCFLAGS -Wall -Wextra -pedantic -Wno-long-long -DNDEBUG"
-make install DESTDIR=$PKG
+ CXXFLAGS="$SLKCFLAGS -Wall -Wextra -pedantic -Wno-long-long -DNDEBUG" \
+ SRCDIR=build HAVE_RULES=yes CFGDIR=/usr/share/cppcheck/cfg DESTDIR=$PKG
if [ x"$MAKEMAN" == "xyes" ]; then
xsltproc \