Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2019 22:49:10 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489838 - head/devel/kdevelop
Message-ID:  <201901092249.x09MnA9S040252@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Wed Jan  9 22:49:10 2019
New Revision: 489838
URL: https://svnweb.freebsd.org/changeset/ports/489838

Log:
  devel/kdevelop: switch to using LLVM_DEFAULT
  
  - chosing 60 is arbitrary, and there is no need to have it configurable...
    taking LLVM_DEFAULT seems more reasonable therefore.
  
  Reported by:	tjil

Modified:
  head/devel/kdevelop/Makefile

Modified: head/devel/kdevelop/Makefile
==============================================================================
--- head/devel/kdevelop/Makefile	Wed Jan  9 22:40:25 2019	(r489837)
+++ head/devel/kdevelop/Makefile	Wed Jan  9 22:49:10 2019	(r489838)
@@ -2,6 +2,7 @@
 
 PORTNAME=	kdevelop
 DISTVERSION=	5.3.1
+PORTREVISION=	1
 CATEGORIES=	devel kde
 MASTER_SITES=	KDE/stable/kdevelop/${DISTVERSION}/src
 DIST_SUBDIR=	KDE/kdevelop
@@ -12,14 +13,15 @@ COMMENT=	Plugin extensible IDE for KDE
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	kdev-pg-qt:devel/kdevelop-pg-qt
+BUILD_DEPENDS=	kdev-pg-qt:devel/kdevelop-pg-qt \
+		llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
 LIB_DEPENDS=	libkasten3controllers.so:devel/okteta \
 		libapr-1.so:devel/apr1 \
 		libsvn_client-1.so:devel/subversion \
 		libboost_thread.so:devel/boost-libs \
-		libkomparediff2.so:textproc/libkomparediff2 \
-		libclang.so.${LLVM_VERSION:C/([1-9])([0-9])/\1/}:devel/llvm${LLVM_VERSION}
-RUN_DEPENDS=	gmake:devel/gmake
+		libkomparediff2.so:textproc/libkomparediff2
+RUN_DEPENDS=	gmake:devel/gmake \
+		llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
 
 USES=		cmake compiler:c++11-lib desktop-file-utils \
 		gettext grantlee:5 kde:5 qt:5 shared-mime-info shebangfix tar:xz
@@ -36,7 +38,7 @@ CONFLICTS=	kdevelop-kde4-4* kdevelop-4* kdevplatform-k
 SHEBANG_FILES=	kdevplatform/util/kdevplatform_shell_environment.sh \
 		kdevplatform/util/.zshrc
 
-CMAKE_ARGS=	-DCMAKE_POLICY_DEFAULT_CMP0074=NEW -DLLVM_ROOT=${LOCALBASE}/llvm${LLVM_VERSION}
+CMAKE_ARGS=	-DCMAKE_POLICY_DEFAULT_CMP0074=NEW -DLLVM_ROOT=${LOCALBASE}/llvm${LLVM_DEFAULT}
 
 OPTIONS_DEFINE=	WEBENGINE
 WEBENGINE_DESC=	Use WebEngine as help reader
@@ -44,8 +46,6 @@ WEBENGINE_USES=	qt:5
 WEBENGINE_USE=	QT=location,webchannel,webengine
 WEBENGINE_USE_OFF=	QT=webkit
 WEBENGINE_CMAKE_OFF=	-DCMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets:BOOL=TRUE
-
-LLVM_VERSION?=	60
 
 SHEBANG_LANG=	zsh
 zsh_OLD_CMD=	/bin/zsh



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