pkgsrc/devel/cppcheck/Makefile
wiz c48df617e6 Update to 1.46.1:
Release notes for 1.46

This release has improvements and bug fixes.

We fixed 153 tickets, and that is a somewhat "usual" number for a Cppcheck release.

The report has been improved. New severities were added to make the messages more informational. The possible severities are now:
 * error
 * warning
 * style
 * performance

This has no effect on the command line flags nor the xml report. The command line flags and the xml report is fully compatible with previous versions.

These are the new checks that were added:
 * detect dangerous usage of string::c_str()
 * warn for unused variable when only doing malloc/free
 * warn when assert has side effects
 * warn for mutual exclusion over ||. The condition is always false. Example: 'if (x != 1 || x != 4)'

More details about all the fixed tickets can be found here:
http://sourceforge.net/apps/trac/cppcheck/milestone/1.46


Release notes for 1.46.1

Fix segmentation fault.
2010-12-15 13:01:38 +00:00

36 lines
924 B
Makefile

# $NetBSD: Makefile,v 1.7 2010/12/15 13:01:38 wiz Exp $
#
DISTNAME= cppcheck-1.46.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cppcheck/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://cppcheck.wiki.sourceforge.net/
COMMENT= Tool for static C/C++ code analysis
LICENSE= gnu-gpl-v3
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c++
USE_TOOLS+= gmake
BUILDLINK_TRANSFORM+= rm:-Wlogical-op
.include "options.mk"
.PHONY: man-build
post-build: man-build
man-build:
cd ${WRKSRC}/man && xsltproc --nonet \
--param man.charmap.use.subset "0" \
--param make.year.ranges "1" \
--param make.single.year.ranges "1" \
${PREFIX}/share/xsl/docbook/manpages/docbook.xsl \
cppcheck.1.xml
.include "../../mk/bsd.pkg.mk"