diff --git a/srcpkgs/cppcheck/template b/srcpkgs/cppcheck/template index e2616b98ff5..0f72368430e 100644 --- a/srcpkgs/cppcheck/template +++ b/srcpkgs/cppcheck/template @@ -1,6 +1,6 @@ # Template file for 'cppcheck' pkgname=cppcheck -version=2.15.0 +version=2.16.1 revision=1 build_style=cmake configure_args=" @@ -8,7 +8,8 @@ configure_args=" -DFILESDIR=/usr/share/cppcheck -DHAVE_RULES=ON -DUSE_BUNDLED_TINYXML2=OFF - -DUSE_MATCHCOMPILER=ON" + -DUSE_MATCHCOMPILER=ON + -DDISABLE_DMAKE=ON" hostmakedepends="libxslt docbook-xsl python3 qt5-tools-devel" makedepends="pcre-devel tinyxml2-devel qt5-devel qt5-tools-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds" @@ -19,7 +20,7 @@ license="GPL-3.0-or-later" homepage="http://cppcheck.sourceforge.net" changelog="https://sourceforge.net/p/cppcheck/news/" distfiles="https://github.com/danmar/cppcheck/archive/refs/tags/${version}.tar.gz" -checksum=98bcc40ac8062635b492fb096d7815376a176ae26749d6c708083f4637f7c0bb +checksum=cba3634650fe9dc406a769e4cc6cf053d077740fb273a50a91ce3f17ac773607 export CXXFLAGS="-DNDEBUG" @@ -27,12 +28,6 @@ if [ -n "$XBPS_CHECK_PKGS" ]; then configure_args+=" -DBUILD_TESTS=ON" fi -post_extract() { - if [ "$CROSS_BUILD" ]; then - vsed -e '/run-dmake/d' -i test/CMakeLists.txt -i cli/CMakeLists.txt - fi -} - post_install() { make DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl man vman cppcheck.1