svn commit: r320605 - head/devel/cppcheck
Brendan Fabeny
bf at FreeBSD.org
Tue Jun 11 15:25:54 UTC 2013
Author: bf
Date: Tue Jun 11 15:25:53 2013
New Revision: 320605
URL: http://svnweb.freebsd.org/changeset/ports/320605
Log:
Switch from the bundled tinyxml2 to the new textproc/tinyxml2 port
Modified:
head/devel/cppcheck/Makefile
Modified: head/devel/cppcheck/Makefile
==============================================================================
--- head/devel/cppcheck/Makefile Tue Jun 11 15:19:11 2013 (r320604)
+++ head/devel/cppcheck/Makefile Tue Jun 11 15:25:53 2013 (r320605)
@@ -3,6 +3,7 @@
PORTNAME= cppcheck
PORTVERSION= 1.60.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
@@ -11,14 +12,14 @@ COMMENT= Static analysis of C/C++ code
LICENSE= GPLv3
-#LIB_DEPENDS= tinyxml:${PORTSDIR}/textproc/tinyxml
+LIB_DEPENDS= tinyxml2:${PORTSDIR}/textproc/tinyxml2
USE_BZIP2= yes
USE_GMAKE= yes
ALL_TARGET= cppcheck
LDFLAGS+= -L${LOCALBASE}/lib
-#MAKE_ENV+= TINYXML=-ltinyxml
+MAKE_ENV+= TINYXML=-ltinyxml2
OPTIONS_DEFINE= MATCHCOMPILER RULES
OPTIONS_DEFAULT= MATCHCOMPILER RULES
@@ -53,9 +54,9 @@ MAKE_ENV+= HAVE_RULES=yes
.endif
post-patch:
-# @${REINPLACE_CMD} \
-# -e 's|-Iexternals/tinyxml|-I${LOCALBASE}/include|' \
-# ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} \
+ -e 's|-Iexternals/tinyxml|-I${LOCALBASE}/include|' \
+ ${WRKSRC}/Makefile
.if ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '\|DB2MAN=|d' \
${WRKSRC}/Makefile
More information about the svn-ports-all
mailing list