diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-01-25 12:59:02 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2018-01-25 12:59:02 +0000 |
commit | 63797b032b405f25cf13263d775c0901a9599b6e (patch) | |
tree | f41c5973ed3320ad79ee3134bb663f5dda37e48a /devel/cppcheck | |
parent | c7aefe9068c8d5fcba2763a7992e7f79e2235ce1 (diff) | |
download | ports-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/Makefile | 3 |
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 |