git: bec1bb967aaf - main - devel/clazy: fix build with clang15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Dec 2022 12:20:56 UTC
The branch main has been updated by fluffy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bec1bb967aaf3576e4991f31bf7726835a189b98
commit bec1bb967aaf3576e4991f31bf7726835a189b98
Author: Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-12-07 12:20:22 +0000
Commit: Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-12-07 12:20:22 +0000
devel/clazy: fix build with clang15
---
devel/clazy/Makefile | 11 +++++++++++
devel/clazy/distinfo | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/devel/clazy/Makefile b/devel/clazy/Makefile
index ee8a7ea5e25f..a6b372fa12b4 100644
--- a/devel/clazy/Makefile
+++ b/devel/clazy/Makefile
@@ -1,8 +1,12 @@
PORTNAME= clazy
DISTVERSION= 1.11
+PORTREVISION= 1
CATEGORIES= devel kde
MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION}/src/
+PATCH_SITES+= https://invent.kde.org/sdk/clazy/-/commit/
+PATCHFILES+= 20fca52da739ebefa47e35f6b338bb99a0da3cfe.diff:-p1
+
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt oriented code checker based on clang
WWW= https://github.com/KDE/clazy
@@ -17,8 +21,15 @@ USES= cmake compiler:c++17-lang tar:xz
CMAKE_ARGS= -DLLVM_ROOT=${LOCALBASE}/llvm${LLVM_DEFAULT}
+
OPTIONS_DEFINE= DOCS
DOCS_CMAKE_BOOL= CLAZY_MAN_PAGE
+.include <bsd.port.options.mk>
+
+CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT}
+CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT}
+CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT}
+
.include <bsd.port.mk>
diff --git a/devel/clazy/distinfo b/devel/clazy/distinfo
index 1934574a90ac..bb992068e8a4 100644
--- a/devel/clazy/distinfo
+++ b/devel/clazy/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1660649045
+TIMESTAMP = 1670410191
SHA256 (clazy-1.11.tar.xz) = 66165df33be8785218720c8947aa9099bae6d06c90b1501953d9f95fdfa0120a
SIZE (clazy-1.11.tar.xz) = 404088
+SHA256 (20fca52da739ebefa47e35f6b338bb99a0da3cfe.diff) = b6f76075f9ecd9fad0d1bea84c3868de07d128df6d24c99d2de761e5718429f5
+SIZE (20fca52da739ebefa47e35f6b338bb99a0da3cfe.diff) = 11827