Date: Mon, 15 Mar 2021 06:04:47 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r568432 - head/graphics/mesa-dri Message-ID: <202103150604.12F64lNK005308@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103150604.12F64lNK005308>