Skip to content

Commit

Permalink
devel/qtcreator: convert to USES=llvm
Browse files Browse the repository at this point in the history
  • Loading branch information
tcberner committed Dec 18, 2022
1 parent e9d1439 commit 8485bd6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions devel/qtcreator/Makefile
Expand Up @@ -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}
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 8485bd6

Please sign in to comment.