svn commit: r568432 - head/graphics/mesa-dri

Alexey Dokuchaev danfe at FreeBSD.org
Mon Mar 15 06:04:48 UTC 2021


Author: danfe
Date: Mon Mar 15 06:04:47 2021
New Revision: 568432
URL: https://svnweb.freebsd.org/changeset/ports/568432

Log:
  Improve r556423 and allow building against custom LLVM version, i.e.
  respect flexible LLVM_DEFAULT, by not hardcoding package version and
  depending on the appropriate executable instead.
  
  This is to help users sticking to the particular LLVM versions lower
  the number of different LLVM packages installed.  For example, there
  is currently a mismatch between LLVM_DEFAULT assigned by the default
  versions framework (90) and in this file (10; this hasn't changed).

Modified:
  head/graphics/mesa-dri/Makefile.common

Modified: head/graphics/mesa-dri/Makefile.common
==============================================================================
--- head/graphics/mesa-dri/Makefile.common	Mon Mar 15 05:52:41 2021	(r568431)
+++ head/graphics/mesa-dri/Makefile.common	Mon Mar 15 06:04:47 2021	(r568432)
@@ -93,9 +93,9 @@ EXTRA_PATCHES+= ${PATCHDIR}/extra-src_gallium_auxiliar
 BINARY_ALIAS+=	python3=${PYTHON_VERSION}
 
 LLVM_DEFAULT=	10
-BUILD_DEPENDS+=	llvm${LLVM_DEFAULT}>=10.0.1_1:devel/llvm${LLVM_DEFAULT}
+BUILD_DEPENDS+=	llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
 .if ${COMPONENT} != libs
-RUN_DEPENDS+=	llvm${LLVM_DEFAULT}>=10.0.1_1:devel/llvm${LLVM_DEFAULT}
+RUN_DEPENDS+=	llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
 .endif
 
 MESON_ARGS+=	--native-file="${WRKSRC}/llvm.ini"


More information about the svn-ports-head mailing list