pkgsrc/lang/clang-static-analyzer/Makefile
adam fa003e0fad llvm: updated to 9.0.1
9.0.1 is a bug-fix release.
2019-12-29 15:31:21 +00:00

22 lines
669 B
Makefile

# $NetBSD: Makefile,v 1.17 2019/12/29 15:31:22 adam Exp $
.include "../../lang/clang/Makefile.common"
PKGNAME= ${DISTNAME:S/clang/clang-static-analyzer/:S/.src//}
DEPENDS+= clang-${PKGVERSION_NOREV}{,nb*}:../../lang/clang
USE_TOOLS+= perl:run
DISTINFO_FILE?= ${.CURDIR}/../../lang/clang/distinfo
PATCHDIR?= ${.CURDIR}/../../lang/clang/patches
BUILD_TARGET= clang-check scan-build scan-view
INSTALL_DIRS= ../build/tools/clang-check ../build/tools/scan-build ../build/tools/scan-view
CMAKE_ARGS+= -DCLANG_ENABLE_STATIC_ANALYZER=ON
PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 5.0.1
.include "../../lang/python/pyversion.mk"
.include "../../mk/bsd.pkg.mk"