aboutsummaryrefslogtreecommitdiff
path: root/devel/cppcheck
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-01-25 12:59:02 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-01-25 12:59:02 +0000
commit63797b032b405f25cf13263d775c0901a9599b6e (patch)
treef41c5973ed3320ad79ee3134bb663f5dda37e48a /devel/cppcheck
parentc7aefe9068c8d5fcba2763a7992e7f79e2235ce1 (diff)
downloadports-63797b032b405f25cf13263d775c0901a9599b6e.tar.gz
ports-63797b032b405f25cf13263d775c0901a9599b6e.zip
Fix build when Qt libs are present, but qmake is not
Reported by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Notes
Notes: svn path=/head/; revision=459927
Diffstat (limited to 'devel/cppcheck')
-rw-r--r--devel/cppcheck/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/cppcheck/Makefile b/devel/cppcheck/Makefile
index 6ff6637bcb6c..7a2dad688170 100644
--- a/devel/cppcheck/Makefile
+++ b/devel/cppcheck/Makefile
@@ -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