git: d8a7f486b1d0 - main - editors/cpeditor: add workaround for cmake 3.21.1

Tobias C. Berner tcberner at FreeBSD.org
Sun Aug 1 07:36:51 UTC 2021


The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d8a7f486b1d060f32c074c66c4abaab223536beb

commit d8a7f486b1d060f32c074c66c4abaab223536beb
Author:     Tobias C. Berner <tcberner at FreeBSD.org>
AuthorDate: 2021-08-01 07:35:37 +0000
Commit:     Tobias C. Berner <tcberner at FreeBSD.org>
CommitDate: 2021-08-01 07:35:40 +0000

    editors/cpeditor: add workaround for cmake 3.21.1
    
    CMake Error:
      Running
       '/usr/local/bin/ninja' '-C' '/wrkdirs/usr/ports/editors/cpeditor/work/.build' '-t' 'recompact'
      failed with:
       ninja: error: build.ninja:824: multiple rules generate ui/ui_appwindow.h [-w dupbuild=err]
    
    PR:             257489
---
 editors/cpeditor/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/editors/cpeditor/Makefile b/editors/cpeditor/Makefile
index cc30e416733a..3a22856189e1 100644
--- a/editors/cpeditor/Makefile
+++ b/editors/cpeditor/Makefile
@@ -8,8 +8,9 @@ COMMENT=	Lightweight and cross-platform code editor for competitive programming
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake compiler:c++14-lang qt:5
-USE_QT=		core gui network widgets buildtools_build linguisttools_build qmake_build
+USES=		cmake:noninja compiler:c++14-lang qt:5
+USE_QT=		core gui network widgets \
+		buildtools_build linguisttools_build qmake_build
 USE_GITHUB=	yes
 GH_TUPLE=	\
 		cpeditor:QCodeEditor:ca5f949:cpeditor_QCodeEditor/third_party/QCodeEditor \


More information about the dev-commits-ports-main mailing list