[update] devel/cppcheck 1.47

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[update] devel/cppcheck 1.47

Igor Zinovik-3
        Hello.

This diff brings cppcheck to latest available version 1.47.

Runs fine on i386.

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/cppcheck/Makefile,v
retrieving revision 1.5
diff -U 3 -p -r1.5 Makefile
--- Makefile 30 Dec 2010 09:12:01 -0000 1.5
+++ Makefile 6 Feb 2011 15:16:33 -0000
@@ -2,7 +2,7 @@
 
 COMMENT = C/C++ static checker
 
-DISTNAME = cppcheck-1.46.1
+DISTNAME = cppcheck-1.47
 
 CATEGORIES = devel
 
@@ -16,15 +16,18 @@ PERMIT_PACKAGE_FTP = Yes
 PERMIT_DISTFILES_CDROM = Yes
 PERMIT_DISTFILES_FTP = Yes
 
-WANTLIB = c m stdc++
+WANTLIB = c m pcre stdc++
 
 BUILD_DEPENDS = textproc/docbook-xsl \
  textproc/libxslt
 
+LIB_DEPENDS = devel/pcre
+
 MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=cppcheck/}
 
 ALL_TARGET = cppcheck
-MAKE_FLAGS = BIN=${PREFIX}/bin CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
+MAKE_FLAGS = BIN=${PREFIX}/bin CXX="${CXX}" \
+ CXXFLAGS="${CXXFLAGS} -I${PREFIX}/include -L${PREFIX}/lib"
 
 USE_GMAKE = Yes
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/cppcheck/distinfo,v
retrieving revision 1.3
diff -U 3 -p -r1.3 distinfo
--- distinfo 30 Dec 2010 09:12:01 -0000 1.3
+++ distinfo 6 Feb 2011 15:16:33 -0000
@@ -1,5 +1,5 @@
-MD5 (cppcheck-1.46.1.tar.gz) = gHPrXdnbYRBKwHgtLqzjMg==
-RMD160 (cppcheck-1.46.1.tar.gz) = yqy489WqF8JsJv70Yh/yPhFCyfQ=
-SHA1 (cppcheck-1.46.1.tar.gz) = d7/JTbytJ0WMu2dEceS4zwrql48=
-SHA256 (cppcheck-1.46.1.tar.gz) = VHdGng/86CTKyPOle6fWXMfXwz+nDX2fRzew/y6eUCw=
-SIZE (cppcheck-1.46.1.tar.gz) = 860765
+MD5 (cppcheck-1.47.tar.gz) = 52er7RPUJOX4ysU8Bq1C1g==
+RMD160 (cppcheck-1.47.tar.gz) = cxc5uoF8sWkxQgT6j9KfJoneYTY=
+SHA1 (cppcheck-1.47.tar.gz) = dvx2t8bmXWMFgzf4KMWSsWwDlSo=
+SHA256 (cppcheck-1.47.tar.gz) = 3njfSVLgIG3ENz0GSXrrQWJM9to+l5wZOp18SSDxQ+8=
+SIZE (cppcheck-1.47.tar.gz) = 1005795