Skip to content
Snippets Groups Projects
Commit e9d1439a authored by Tobias C. Berner's avatar Tobias C. Berner
Browse files

devel/qt6-tools: convert to USES=llvm

parent 1725d4ac
No related branches found
No related tags found
No related merge requests found
......@@ -7,10 +7,8 @@ MAINTAINER= kde@FreeBSD.org
COMMENT= Qt declarative framework for dynamic user interfaces
WWW= https://qt-project.org
BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers \
llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers
LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader \
libLLVM.so:devel/llvm${LLVM_DEFAULT} \
libdouble-conversion.so:devel/double-conversion \
libexpat.so:textproc/expat2 \
libfontconfig.so:x11-fonts/fontconfig \
......@@ -24,7 +22,7 @@ LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader \
libxkbcommon.so:x11/libxkbcommon \
libzstd.so:archivers/zstd
USES= cmake compiler:c++17-lang gettext-runtime gl gnome python:build xorg \
USES= cmake compiler:c++17-lang gettext-runtime gl gnome llvm:lib python:build xorg \
qt-dist:6
USE_GL= gl
USE_GNOME= glib20
......@@ -32,8 +30,8 @@ USE_QT= base declarative
USE_XORG= x11 xau xcb xdmcp
USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
CMAKE_ARGS+= -DClang_DIR:PATH="${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/clang" \
-DLLVM_DIR:PATH="${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/llvm"
CMAKE_ARGS+= -DClang_DIR:PATH="${LLVM_PREFIX}/lib/cmake/clang" \
-DLLVM_DIR:PATH="${LLVM_PREFIX}/lib/cmake/llvm"
post-install:
# Install symlinks for user-facing tools
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment