svn commit: r459927 - head/devel/cppcheck
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Jan 25 12:59:03 UTC 2018
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 at 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
More information about the svn-ports-all
mailing list