git: 6a4dcea88d68 - main - textproc/castxml: Add all LLVM versions as options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Aug 2022 15:21:35 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=6a4dcea88d68a204070b74f07b69befceb8315c3 commit 6a4dcea88d68a204070b74f07b69befceb8315c3 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-08-16 15:20:23 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-08-16 15:21:33 +0000 textproc/castxml: Add all LLVM versions as options PR: 265874 Reported by: adridg@ --- textproc/castxml/Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/textproc/castxml/Makefile b/textproc/castxml/Makefile index b779d0b2d044..ddd043521085 100644 --- a/textproc/castxml/Makefile +++ b/textproc/castxml/Makefile @@ -1,6 +1,7 @@ PORTNAME= castxml DISTVERSIONPREFIX= v DISTVERSION= 0.4.5 +PORTREVISION= 1 CATEGORIES= textproc devel MAINTAINER= yuri@FreeBSD.org @@ -21,25 +22,24 @@ GH_PROJECT= CastXML CMAKE_ARGS= -DLLVM_DIR:STRING=${LOCALBASE}/llvm${LLVM_VERSION}/lib/cmake/llvm +LLVM_VERSIONS= 15 14 13 12 11 10 90 80 70 + OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= DOCS LLVM_${LLVM_DEFAULT} OPTIONS_SUB= yes LLVM_DESC= LLVM Version OPTIONS_SINGLE= LLVM -OPTIONS_SINGLE_LLVM= LLVM_DEVEL LLVM_90 LLVM_80 LLVM_70 +OPTIONS_SINGLE_LLVM= LLVM_DEVEL LLVM_DEVEL_DESC= llvm-devel LLVM_DEVEL_VARS= LLVM_VERSION=-devel -LLVM_90_DESC= LLVM 9 -LLVM_90_VARS= LLVM_VERSION=90 - -LLVM_80_DESC= LLVM 8 -LLVM_80_VARS= LLVM_VERSION=80 - -LLVM_70_DESC= LLVM 7 -LLVM_70_VARS= LLVM_VERSION=70 +.for v in ${LLVM_VERSIONS} +OPTIONS_SINGLE_LLVM+= LLVM_${v} +LLVM_${v}_DESC= LLVM ${v} +LLVM_${v}_VARS= LLVM_VERSION=${v} +.endfor DOCS_CMAKE_BOOL= SPHINX_MAN DOCS_CMAKE_ON= -DSPHINX_EXECUTABLE=${LOCALBASE}/bin/sphinx-build