Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2019 03:57:22 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r515575 - head/devel/youcompleteme
Message-ID:  <201910250357.x9P3vMAw014458@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Fri Oct 25 03:57:21 2019
New Revision: 515575
URL: https://svnweb.freebsd.org/changeset/ports/515575

Log:
  Factor out the hardcoded string "llvm70" for easier future maintainence.
  
  Noted while working on powerpc64 ports.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/devel/youcompleteme/Makefile

Modified: head/devel/youcompleteme/Makefile
==============================================================================
--- head/devel/youcompleteme/Makefile	Fri Oct 25 03:21:16 2019	(r515574)
+++ head/devel/youcompleteme/Makefile	Fri Oct 25 03:57:21 2019	(r515575)
@@ -34,6 +34,8 @@ GH_TAGNAME=	299f8e4
 GH_TUPLE=	Valloric:ycmd:d0eba90:ycm/third_party/ycmd \
 		micbou:regex:d2ef9c4:ycmd5/third_party/ycmd/third_party/cregex
 
+LLVM_VER=		70
+
 CMAKE_SOURCE_PATH+=	${WRKSRC}/third_party/ycmd/cpp
 
 PLIST_SUB=		VIMFILESDIR=share/vim/vimfiles \
@@ -51,8 +53,8 @@ C_DESC=			C-family Semantic Completion Support
 MONO_DESC=		C\# Semantic Completion Support
 RUST_DESC=		Rust Semantic Completion Support
 
-C_CMAKE_ON=		-DPATH_TO_LLVM_ROOT=${LOCALBASE}/llvm70
-C_LIB_DEPENDS=		libclang.so:devel/llvm70
+C_CMAKE_ON=		-DPATH_TO_LLVM_ROOT=${LOCALBASE}/llvm${LLVM_VER}
+C_LIB_DEPENDS=		libclang.so:devel/llvm${LLVM_VER}
 
 MONO_RUN_DEPENDS=	${LOCALBASE}/share/omnisharp-server/bin/Release/OmniSharp.exe:devel/omnisharp-server
 MONO_VARS=		MONOFILESDIR=${VIMFILESDIR}/third_party/ycmd/third_party/OmniSharpServer



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