git: 41c875bfe957 - main - lang/cling: fix build ahead of CMake 3.20
Adriaan de Groot
adridg at FreeBSD.org
Tue Apr 6 23:02:57 UTC 2021
The branch main has been updated by adridg:
URL: https://cgit.FreeBSD.org/ports/commit/?id=41c875bfe9575306fc1d297505781e4c574e3166
commit 41c875bfe9575306fc1d297505781e4c574e3166
Author: Adriaan de Groot <adridg at FreeBSD.org>
AuthorDate: 2021-04-06 21:21:26 +0000
Commit: Adriaan de Groot <adridg at 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' \
More information about the dev-commits-ports-all
mailing list