Unbreak clazy 1.8 update

Bring back PREFIX cmake fix. This was not noticed because the old version was
installed during the build time.

Spotted by aja@, thanks
This commit is contained in:
rsadowski 2020-11-28 09:30:46 +00:00
parent 524fa8b668
commit 681d45e95b
3 changed files with 17 additions and 3 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.7 2020/11/24 16:04:38 rsadowski Exp $
# $OpenBSD: Makefile,v 1.8 2020/11/28 09:30:46 rsadowski Exp $
COMMENT = static source code analyzer for Qt5-based C++
GH_ACCOUNT = KDE
GH_PROJECT = clazy
GH_TAGNAME = v1.8
REVISION = 0
CATEGORIES = lang devel

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-CMakeLists_txt,v 1.6 2020/11/28 09:30:46 rsadowski Exp $
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -190,7 +190,6 @@ if (NOT CLAZY_BUILD_WITH_CLANG)
add_clang_plugin(ClazyPlugin ${CLAZY_PLUGIN_SRCS} ${CLAZY_MINI_AST_DUMPER_SRCS})
set_target_properties(ClazyPlugin PROPERTIES
LINKER_LANGUAGE CXX
- PREFIX ""
)
install(TARGETS ClazyPlugin

View File

@ -1,7 +1,7 @@
@comment $OpenBSD: PLIST,v 1.5 2020/11/24 16:04:38 rsadowski Exp $
@comment $OpenBSD: PLIST,v 1.6 2020/11/28 09:30:46 rsadowski Exp $
bin/clazy
@bin bin/clazy-standalone
@so lib/ClazyPlugin.so
@so lib/libClazyPlugin.so
@man man/man1/clazy.1
share/doc/clazy/
share/doc/clazy/COPYING-LGPL2.txt