update to 1.59; mostly from sthen@

while I am there, enable support for compiled patterns. a python script is used to convert match patterns to C++ code.

OK sthen@
This commit is contained in:
gsoares 2013-04-03 03:00:31 +00:00
parent cc440e355c
commit 415a61c5a3
2 changed files with 16 additions and 7 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.17 2013/03/11 10:50:02 espie Exp $
# $OpenBSD: Makefile,v 1.18 2013/04/03 03:00:31 gsoares Exp $
COMMENT = C/C++ static checker
DISTNAME = cppcheck-1.57
DISTNAME = cppcheck-1.59
CATEGORIES = devel
@ -22,14 +22,23 @@ LIB_DEPENDS = devel/pcre
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=cppcheck/}
ALL_TARGET = cppcheck
TEST_TARGET = test
MAKE_FLAGS = BIN=${PREFIX}/bin \
TEST_TARGET = test
# -Ilib before PREFIX/include to avoid picking up header from devel/check
MAKE_FLAGS = BIN=${PREFIX}/bin SRCDIR=build \
CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
CPPFLAGS="-DHAVE_RULES -DTIXML_USE_STL -I${PREFIX}/include" \
CPPFLAGS="-DHAVE_RULES -DTIXML_USE_STL -Ilib -I${PREFIX}/include" \
LDFLAGS="-L${PREFIX}/lib -lpcre"
MODULES = lang/python
MODPY_RUNDEP = No
CONFIGURE_STYLE = none
USE_GMAKE = Yes
pre-configure:
ln -s ${MODPY_BIN} ${WRKDIR}/bin/python
post-build:
cd ${WRKSRC} && \
${PREFIX}/bin/xsltproc --novalid --nonet --param man.charmap.use.subset "0" \

View File

@ -1,2 +1,2 @@
SHA256 (cppcheck-1.57.tar.gz) = e9/UxE2zf20uKasxXqKSmUvOOXuVMejP4E1MKWftJ7w=
SIZE (cppcheck-1.57.tar.gz) = 1513423
SHA256 (cppcheck-1.59.tar.gz) = OmZlos1jgV7DTfxnHmb6pvnjQe4TCeWqqjkEpvbyc6c=
SIZE (cppcheck-1.59.tar.gz) = 1611985