Received: by mail.netbsd.org (Postfix, from userid 605) id 53C7A84E62; Mon, 15 Jan 2024 09:41:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8539D84CFD for ; Mon, 15 Jan 2024 09:41:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id ilKVAXCk4fRX for ; Mon, 15 Jan 2024 09:41:54 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id D44F284CFC for ; Mon, 15 Jan 2024 09:41:53 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id CA7DEFA42; Mon, 15 Jan 2024 09:41:53 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1705311713156110" MIME-Version: 1.0 Date: Mon, 15 Jan 2024 09:41:53 +0000 From: "Niclas Rosenvik" Subject: CVS commit: pkgsrc/net/cppzmq To: pkgsrc-changes@NetBSD.org Reply-To: nros@netbsd.org X-Mailer: log_accum Message-Id: <20240115094153.CA7DEFA42@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1705311713156110 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1705311713156110 Content-Disposition: inline Content-Length: 1073 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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,,,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" --_----------=_1705311713156110--