Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2013 15:25:54 +0000 (UTC)
From:      Brendan Fabeny <bf@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r320605 - head/devel/cppcheck
Message-ID:  <201306111525.r5BFPsGT084013@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306111525.r5BFPsGT084013>