Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2018 12:59:02 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459927 - head/devel/cppcheck
Message-ID:  <201801251259.w0PCx2ji036840@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jan 25 12:59:02 2018
New Revision: 459927
URL: https://svnweb.freebsd.org/changeset/ports/459927

Log:
  Fix build when Qt libs are present, but qmake is not
  
  Reported by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>

Modified:
  head/devel/cppcheck/Makefile

Modified: head/devel/cppcheck/Makefile
==============================================================================
--- head/devel/cppcheck/Makefile	Thu Jan 25 12:55:54 2018	(r459926)
+++ head/devel/cppcheck/Makefile	Thu Jan 25 12:59:02 2018	(r459927)
@@ -57,6 +57,9 @@ MATCHCOMPILER_CMAKE_BOOL=	USE_MATCHCOMPILER
 MATCHCOMPILER_USES=	python:${PYUSE:C/ /,/W}
 MATCHCOMPILER_VARS=	PYUSE+=build
 
+post-patch:
+	@${REINPLACE_CMD} -e '/find_package(Qt5/ d' ${WRKSRC}/cmake/findDependencies.cmake
+
 post-install-HTMLREPORT-on:
 	${INSTALL_SCRIPT} ${WRKSRC}/htmlreport/cppcheck-htmlreport ${STAGEDIR}${PREFIX}/bin
 



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