Date: Tue, 6 Apr 2021 23:02:56 GMT From: Adriaan de Groot <adridg@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 41c875bfe957 - main - lang/cling: fix build ahead of CMake 3.20 Message-ID: <202104062302.136N2usG004634@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=41c875bfe9575306fc1d297505781e4c574e3166 commit 41c875bfe9575306fc1d297505781e4c574e3166 Author: Adriaan de Groot <adridg@FreeBSD.org> AuthorDate: 2021-04-06 21:21:26 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2021-04-06 23:02:51 +0000 lang/cling: fix build ahead of CMake 3.20 The --target command-line argument is ignored when not applicable in versions of CMake up to 3.20. It should never be necessary in FreeBSD ports **anyway** since we generate a build system (ninja or make) and use that, rather than building directly out of CMake. Bumping PORTREVISION even though there shouldn't be a difference. --- lang/cling/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lang/cling/Makefile b/lang/cling/Makefile index fd5cf521c813..46aaa3c78bf5 100644 --- a/lang/cling/Makefile +++ b/lang/cling/Makefile @@ -2,7 +2,7 @@ PORTNAME= cling DISTVERSION= 0.5-2018-08-13 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= lang devel MASTER_SITES= https://root.cern.ch/download/cling/ DISTNAME= ${PORTNAME}_${DISTVERSION:C/^[0-9]\.[0-9]-//}_sources @@ -49,8 +49,7 @@ PLIST_SUB+= LLVM_SUFFIX=${LLVM_SUFFIX} LLVM_RELEASE=${LLVM_RELEASE} CMAKE_BUILD_TYPE= Release CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX} -CMAKE_ARGS+= -DINSTALL_LAYOUT=FREEBSD \ - --target ${PORTNAME} +CMAKE_ARGS+= -DINSTALL_LAYOUT=FREEBSD post-patch: @${REINPLACE_CMD} -e 's|%%LLVM_PREFIX%%|${LLVM_PREFIX}|g' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104062302.136N2usG004634>