pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/cppcheck



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue May  2 17:10:49 UTC 2023

Modified Files:
        pkgsrc/devel/cppcheck: Makefile

Log Message:
cppcheck: not for Python 2


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 pkgsrc/devel/cppcheck/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/cppcheck/Makefile
diff -u pkgsrc/devel/cppcheck/Makefile:1.91 pkgsrc/devel/cppcheck/Makefile:1.92
--- pkgsrc/devel/cppcheck/Makefile:1.91 Wed Apr 19 08:09:39 2023
+++ pkgsrc/devel/cppcheck/Makefile      Tue May  2 17:10:49 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.91 2023/04/19 08:09:39 adam Exp $
+# $NetBSD: Makefile,v 1.92 2023/05/02 17:10:49 wiz Exp $
 
 DISTNAME=      cppcheck-2.8
 PKGREVISION=   5
@@ -13,6 +13,7 @@ LICENSE=      gnu-gpl-v3
 
 BUILD_DEPENDS+=        libxslt-[0-9]*:../../textproc/libxslt
 BUILD_DEPENDS+=        docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+DEPENDS+=      ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
 
 USE_LANGUAGES=         c c++0x
 USE_TOOLS+=            gmake
@@ -29,9 +30,11 @@ MAKE_FLAGS+=         USE_Z3=yes
 #CMAKE_ARGS+=          -DHAVE_RULES=ON
 #CMAKE_ARGS+=          -DUSE_Z3=ON
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../mk/compiler.mk"
 
-.if !empty(CC_VERSION:Mgcc-4.[0-5]*) || !empty(CC_VERSION:Mgcc-3.*)
+.if ${CC_VERSION:Mgcc-4.[0-5]*} || ${CC_VERSION:Mgcc-3.*}
 CXXFLAGS+=             -include lib/cxx11emu.h
 .endif
 
@@ -41,8 +44,6 @@ REPLACE_PYTHON+=      htmlreport/cppcheck-htm
 
 TEST_TARGET=           test
 
-PYTHON_VERSIONED_DEPENDENCIES= pygments
-
 .include "options.mk"
 
 .PHONY: man-install



Home | Main Index | Thread Index | Old Index