Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2024 08:32:49 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ecfd72cda3b5 - main - textproc/castxml: Remove LLVM-related options and use llvm19
Message-ID:  <202411120832.4AC8WnjQ051445@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ecfd72cda3b5af8b1bd1dc43e1342d2183b99849

commit ecfd72cda3b5af8b1bd1dc43e1342d2183b99849
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-12 07:50:51 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-12 08:32:33 +0000

    textproc/castxml: Remove LLVM-related options and use llvm19
    
    PR:             282433
---
 textproc/castxml/Makefile | 21 ++-------------------
 1 file changed, 2 insertions(+), 19 deletions(-)

diff --git a/textproc/castxml/Makefile b/textproc/castxml/Makefile
index ea28ce906c9e..5ccce091e543 100644
--- a/textproc/castxml/Makefile
+++ b/textproc/castxml/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	castxml
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.6.8
+PORTREVISION=	1
 CATEGORIES=	textproc devel
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -10,11 +11,9 @@ WWW=		https://github.com/CastXML/CastXML
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
-RUN_DEPENDS=	clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION}
 TEST_DEPENDS=	${LOCALBASE}/lib/libxml2.so:textproc/libxml2
 
-USES=		cmake:testing compiler:c++11-lang
+USES=		cmake:testing compiler:c++11-lang llvm:19,lib # fails to build with llvm-17: https://github.com/CastXML/CastXML/issues/270
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	CastXML
@@ -23,25 +22,9 @@ GH_PROJECT=	CastXML
 CMAKE_ARGS=	-DLLVM_DIR:STRING=${LOCALBASE}/llvm${LLVM_VERSION}/lib/cmake/llvm \
 		-DCastXML_INSTALL_MAN_DIR=share/man
 
-LLVM_VERSIONS=	15 14 13 12 11
-
 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_DEVEL_DESC=	llvm-devel
-LLVM_DEVEL_VARS=	LLVM_VERSION=-devel
-
-.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
 DOCS_BUILD_DEPENDS=	${LOCALBASE}/bin/sphinx-build:textproc/py-sphinx



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