Update to clazy-1.5 which adds support for llvm-8

It also drops libclazylib.so, but that one isn't used by the ports tree.
There is something fishy with libClazyPlugin.so (renamed from
libClangLazy.so) which is directly used as a shared lib by
bin/clazy-standalone.

ok rsadowski@ (maintainer)
This commit is contained in:
jca 2019-07-04 12:07:23 +00:00
parent 4f6fdfe5a3
commit 3136a3a684
4 changed files with 19 additions and 39 deletions

View File

@ -1,21 +1,19 @@
# $OpenBSD: Makefile,v 1.4 2019/03/04 01:09:39 jsg Exp $
# $OpenBSD: Makefile,v 1.5 2019/07/04 12:07:23 jca Exp $
COMMENT = static source code analyzer for Qt5-based C++
GH_ACCOUNT = KDE
GH_PROJECT = clazy
GH_TAGNAME = v1.4
GH_TAGNAME = v1.5
CATEGORIES = lang devel
SHARED_LIBS += clazylib 0.1 # 0.1
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
# LGPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} c m z
WANTLIB += ${COMPILER_LIBCXX} c m
COMPILER = base-clang ports-gcc
@ -24,8 +22,7 @@ MODULES = devel/cmake
BUILD_DEPENDS = devel/llvm
RUN_DEPENDS = devel/llvm
CONFIGURE_ARGS = -DCLAZY_BUILD_UTILS_LIB:Bool=ON \
-DMAN_INSTALL_DIR="${PREFIX}/man/man1" \
CONFIGURE_ARGS += -DMAN_INSTALL_DIR="${PREFIX}/man/man1" \
-DLLVM_ROOT="${LOCALBASE}"
NO_TEST = Yes

View File

@ -1,2 +1,2 @@
SHA256 (clazy-1.4.tar.gz) = YsNLTeHpm0fVjNRI+9/ZS4t+Icp1FNueZ2E6GHhwJps=
SIZE (clazy-1.4.tar.gz) = 413300
SHA256 (clazy-1.5.tar.gz) = yNnSBeb7e8x8wc1jxUdqeCkNQeTR7ZvS00uSiFsRwM0=
SIZE (clazy-1.5.tar.gz) = 431820

View File

@ -1,21 +1,21 @@
$OpenBSD: patch-CMakeLists_txt,v 1.2 2018/10/16 14:31:04 rsadowski Exp $
$OpenBSD: patch-CMakeLists_txt,v 1.3 2019/07/04 12:07:23 jca Exp $
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -164,7 +164,6 @@ if (NOT CLAZY_BUILD_WITH_CLANG)
add_clang_plugin(ClangLazy ${CLAZY_PLUGIN_SRCS})
set_target_properties(ClangLazy PROPERTIES
@@ -140,7 +140,6 @@ if (NOT CLAZY_BUILD_WITH_CLANG)
add_clang_plugin(ClazyPlugin ${CLAZY_PLUGIN_SRCS})
set_target_properties(ClazyPlugin PROPERTIES
LINKER_LANGUAGE CXX
- PREFIX ""
)
install(TARGETS ClangLazy
@@ -200,7 +199,6 @@ if (NOT CLAZY_BUILD_WITH_CLANG)
install(TARGETS ClazyPlugin
@@ -178,7 +177,6 @@ if (NOT CLAZY_BUILD_WITH_CLANG)
install(FILES README.md COPYING-LGPL2.txt checks.json DESTINATION ${DOC_INSTALL_DIR})
# Build docs
- set(MAN_INSTALL_DIR "${SHARE_INSTALL_DIR}/man/man1")
add_subdirectory(docs)
if(CLAZY_BUILD_UTILS_LIB)
# rpath

View File

@ -1,27 +1,7 @@
@comment $OpenBSD: PLIST,v 1.2 2018/10/16 14:31:04 rsadowski Exp $
@comment $OpenBSD: PLIST,v 1.3 2019/07/04 12:07:23 jca Exp $
bin/clazy
@bin bin/clazy-standalone
include/clazy/
include/clazy/AccessSpecifierManager.h
include/clazy/ClazyContext.h
include/clazy/ContextUtils.h
include/clazy/FixItUtils.h
include/clazy/HierarchyUtils.h
include/clazy/LoopUtils.h
include/clazy/MacroUtils.h
include/clazy/QtUtils.h
include/clazy/StmtBodyRange.h
include/clazy/StringUtils.h
include/clazy/SuppressionManager.h
include/clazy/TemplateUtils.h
include/clazy/TypeUtils.h
include/clazy/Utils.h
include/clazy/checkbase.h
include/clazy/checkmanager.h
include/clazy/clazy_export.h
include/clazy/clazy_stl.h
lib/libClangLazy.so
@lib lib/libclazylib.so.${LIBclazylib_VERSION}
lib/libClazyPlugin.so
@man man/man1/clazy.1
share/doc/clazy/
share/doc/clazy/COPYING-LGPL2.txt
@ -36,6 +16,7 @@ share/doc/clazy/level0/README-empty-qstringliteral.md
share/doc/clazy/level0/README-fully-qualified-moc-types.md
share/doc/clazy/level0/README-lambda-in-connect.md
share/doc/clazy/level0/README-lambda-unique-connection.md
share/doc/clazy/level0/README-lowercase-qml-type-name.md
share/doc/clazy/level0/README-mutable-container-key.md
share/doc/clazy/level0/README-qcolor-from-literal.md
share/doc/clazy/level0/README-qdatetime-utc.md
@ -101,9 +82,11 @@ share/doc/clazy/level3/README-thread-with-slots.md
share/doc/clazy/level3/README-unneeded-cast.md
share/doc/clazy/manuallevel/
share/doc/clazy/manuallevel/README-container-inside-loop.md
share/doc/clazy/manuallevel/README-ifndef-define-typo.md
share/doc/clazy/manuallevel/README-inefficient-qlist.md
share/doc/clazy/manuallevel/README-isempty-vs-count.md
share/doc/clazy/manuallevel/README-qhash-with-char-pointer-key.md
share/doc/clazy/manuallevel/README-qrequiredresult-candidates.md
share/doc/clazy/manuallevel/README-qstring-varargs.md
share/doc/clazy/manuallevel/README-qt-keywords.md
share/doc/clazy/manuallevel/README-qt4-qstring-from-array.md