aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2022-12-18 00:06:45 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2022-12-18 00:15:00 +0000
commit9a433129c545833a044559645984aaa0d8bbe778 (patch)
treefce565211af0b689b06bffb41ad4eca0c34402e6
parent1c8b894093feb09f6d0cca35a267d4e6d2b091d7 (diff)
downloadports-9a433129c545833a044559645984aaa0d8bbe778.tar.gz
ports-9a433129c545833a044559645984aaa0d8bbe778.zip
devel/kdevelop: convert to USES=llvm
-rw-r--r--devel/kdevelop/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/devel/kdevelop/Makefile b/devel/kdevelop/Makefile
index 6f4ce0e476dc..872372d7554c 100644
--- a/devel/kdevelop/Makefile
+++ b/devel/kdevelop/Makefile
@@ -12,18 +12,16 @@ WWW= https://www.kdevelop.org/
LICENSE= GPLv2+ LGPL20+
LICENSE_COMB= multi
-BUILD_DEPENDS= kdev-pg-qt:devel/kdevelop-pg-qt \
- llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
+BUILD_DEPENDS= kdev-pg-qt:devel/kdevelop-pg-qt
LIB_DEPENDS= libKasten4Controllers.so:devel/okteta \
libapr-1.so:devel/apr1 \
libsvn_client-1.so:devel/subversion \
libboost_thread.so:devel/boost-libs \
libkomparediff2.so:textproc/libkomparediff2
-RUN_DEPENDS= gmake:devel/gmake \
- llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
+RUN_DEPENDS= gmake:devel/gmake
USES= cmake compiler:c++11-lib desktop-file-utils gettext grantlee:5 \
- kde:5 qt:5 shared-mime-info shebangfix tar:xz xorg
+ kde:5 llvm:build,run qt:5 shared-mime-info shebangfix tar:xz xorg
USE_KDE= archive attica auth bookmarks codecs completion config configwidgets \
coreaddons crash guiaddons emoticons i18n iconthemes init \
itemmodels itemviews jobwidgets kcmutils kdeclarative \
@@ -44,7 +42,7 @@ SHEBANG_FILES= kdevplatform/util/kdevplatform_shell_environment.sh \
USE_KDE+= ecm
USE_QT+= testlib
-CMAKE_ARGS= -DCMAKE_POLICY_DEFAULT_CMP0074=NEW -DLLVM_ROOT=${LOCALBASE}/llvm${LLVM_DEFAULT}
+CMAKE_ARGS= -DCMAKE_POLICY_DEFAULT_CMP0074=NEW -DLLVM_ROOT=${LLVM_PREFIX}
# Versioning values, to reduce plist churn
SO_VER= 510