Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Dec 2022 00:15:48 GMT
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8485bd6ca219 - main - devel/qtcreator: convert to USES=llvm
Message-ID:  <202212180015.2BI0FmPd002829@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tcberner:

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

commit 8485bd6ca219a0b630e30acf4ac66b71c8673972
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-12-18 00:07:42 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-12-18 00:15:01 +0000

    devel/qtcreator: convert to USES=llvm
---
 devel/qtcreator/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/devel/qtcreator/Makefile b/devel/qtcreator/Makefile
index 11311a01571e..0c701f7bbd7e 100644
--- a/devel/qtcreator/Makefile
+++ b/devel/qtcreator/Makefile
@@ -15,12 +15,10 @@ LICENSE_NAME=	GPLv3 with Qt Company GPL Exception 1.0
 LICENSE_FILE=	${WRKSRC}/LICENSE.GPL3-EXCEPT
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-BUILD_DEPENDS=	llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
 LIB_DEPENDS=	libKF5SyntaxHighlighting.so:textproc/kf5-syntax-highlighting \
 		libzstd.so:archivers/zstd
-RUN_DEPENDS=	llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
 
-USES=		compiler:c++17-lang pkgconfig cmake gl python qt:5 shebangfix tar:xz \
+USES=		compiler:c++17-lang pkgconfig cmake gl llvm:build,run python qt:5 shebangfix tar:xz \
 		desktop-file-utils
 USE_GL=		gl
 USE_LDCONFIG=	${LOCALBASE}/lib/${PORTNAME}
@@ -54,7 +52,7 @@ SHEBANG_FILES=		bin/qtcreator.sh \
 			tests/system/tools/objectsToTable.py
 
 # Provide library paths, default llvm first as a hint to the clang code model.
-CMAKE_ARGS+=	-DCMAKE_PREFIX_PATH:STRING="${PREFIX}/llvm${LLVM_DEFAULT};${PREFIX}"
+CMAKE_ARGS+=	-DCMAKE_PREFIX_PATH:STRING="${LLVM_PREFIX};${PREFIX}"
 # - Prevent accidental pickup of devel/elfutils libraries.
 # - Prevent accidental use of devel/googletest headers, use bundled.
 CMAKE_ON=	CMAKE_DISABLE_FIND_PACKAGE_elfutils \



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