pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/cppzmq
Module Name: pkgsrc
Committed By: nros
Date: Mon Jan 15 09:41:53 UTC 2024
Modified Files:
pkgsrc/net/cppzmq: Makefile
Log Message:
cppzmq: adapt for catch2 version 3 api
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/cppzmq/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/cppzmq/Makefile
diff -u pkgsrc/net/cppzmq/Makefile:1.4 pkgsrc/net/cppzmq/Makefile:1.5
--- pkgsrc/net/cppzmq/Makefile:1.4 Tue Jul 18 04:53:45 2023
+++ pkgsrc/net/cppzmq/Makefile Mon Jan 15 09:41:53 2024
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2023/07/18 04:53:45 adam Exp $
+# $NetBSD: Makefile,v 1.5 2024/01/15 09:41:53 nros Exp $
DISTNAME= cppzmq-4.10.0
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=zeromq/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -14,6 +15,16 @@ USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
TEST_TARGET= test
+
+# for catch2 v2 -> v3 migration
+SUBST_CLASSES+= catch2v3
+SUBST_STAGE.catch2v3= pre-configure
+SUBST_FILES.catch2v3+= tests/*.cpp
+SUBST_FILES.catch2v3+= tests/*.hpp
+SUBST_FILES.catch2v3+= tests/CMakeLists.txt
+SUBST_SED.catch2v3+= -e 's,<catch2/catch.hpp>,<catch2/catch_all.hpp>,g'
+SUBST_SED.catch2v3+= -e 's,Catch2::Catch2,Catch2::Catch2WithMain,g'
+
# needed for building unit tests
.include "../../devel/catch2/buildlink3.mk"
.include "../../devel/cmake/build.mk"
Home |
Main Index |
Thread Index |
Old Index