devel/qt6-tools: convert to USES=llvm

This commit is contained in:
Tobias C. Berner 2022-12-18 01:07:28 +01:00
parent 1725d4ac0d
commit e9d1439a0c

View file

@ -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