diff options
author | Brendan Fabeny <bf@FreeBSD.org> | 2013-08-05 21:06:11 +0000 |
---|---|---|
committer | Brendan Fabeny <bf@FreeBSD.org> | 2013-08-05 21:06:11 +0000 |
commit | e53beb231dae44d999d01f2db34fdcf9809f5f34 (patch) | |
tree | ce4a73ca2640d8c3552bec0403c9b9e685d640dd /devel/cppcheck/Makefile | |
parent | 5e669dadd5e7b821e88c26b9e74974dd4ff8ef32 (diff) |
Notes
Diffstat (limited to 'devel/cppcheck/Makefile')
-rw-r--r-- | devel/cppcheck/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/devel/cppcheck/Makefile b/devel/cppcheck/Makefile index 2884f9b22adf..21937e3256fa 100644 --- a/devel/cppcheck/Makefile +++ b/devel/cppcheck/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= cppcheck -PORTVERSION= 1.60.1 -PORTREVISION= 1 +PORTVERSION= 1.61 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/ @@ -12,10 +11,10 @@ COMMENT= Static analysis of C/C++ code LICENSE= GPLv3 -LIB_DEPENDS= tinyxml2:${PORTSDIR}/textproc/tinyxml2 +LIB_DEPENDS= libtinyxml2.so:${PORTSDIR}/textproc/tinyxml2 USE_BZIP2= yes -USE_GMAKE= yes +USES= gmake ALL_TARGET= cppcheck LDFLAGS+= -L${LOCALBASE}/lib @@ -49,13 +48,13 @@ USE_PYTHON_BUILD= -2.7 .endif .if ${PORT_OPTIONS:MRULES} -LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre +LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre MAKE_ENV+= HAVE_RULES=yes .endif post-patch: @${REINPLACE_CMD} \ - -e 's|-Iexternals/tinyxml|-I${LOCALBASE}/include|' \ + -e 's|-Iexternals -Iexternals/tinyxml|-I${LOCALBASE}/include|' \ ${WRKSRC}/Makefile .if ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '\|DB2MAN=|d' \ @@ -79,7 +78,7 @@ do-install: check regression-test test: build @(cd ${BUILD_WRKSRC}; \ - ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} \ ${_MAKE_JOBS} ${MAKE_ARGS} test) .include <bsd.port.mk> |