pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/catch2



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jul 20 21:47:47 UTC 2023

Modified Files:
        pkgsrc/devel/catch2: Makefile buildlink3.mk

Log Message:
catch2: Require a C++11 compiler.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/catch2/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/catch2/buildlink3.mk

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

Modified files:

Index: pkgsrc/devel/catch2/Makefile
diff -u pkgsrc/devel/catch2/Makefile:1.12 pkgsrc/devel/catch2/Makefile:1.13
--- pkgsrc/devel/catch2/Makefile:1.12   Mon Oct 17 12:10:39 2022
+++ pkgsrc/devel/catch2/Makefile        Thu Jul 20 21:47:47 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2022/10/17 12:10:39 adam Exp $
+# $NetBSD: Makefile,v 1.13 2023/07/20 21:47:47 nia Exp $
 
 DISTNAME=      Catch2-2.13.10
 PKGNAME=       ${DISTNAME:tl}
@@ -13,11 +13,13 @@ LICENSE=    boost-license
 
 WRKSRC=                ${WRKDIR}/${DISTNAME}
 USE_CMAKE=     yes
-USE_LANGUAGES= c c++14
+USE_LANGUAGES= c c++
 CONFIGURE_DIRS=        build
 CMAKE_ARG_PATH=        ..
 CMAKE_ARGS+=   -DBUILD_TESTING=OFF
 
+USE_CXX_FEATURES+=     c++11
+
 pre-configure:
        ${MKDIR} ${WRKSRC}/build
 

Index: pkgsrc/devel/catch2/buildlink3.mk
diff -u pkgsrc/devel/catch2/buildlink3.mk:1.1 pkgsrc/devel/catch2/buildlink3.mk:1.2
--- pkgsrc/devel/catch2/buildlink3.mk:1.1       Mon Feb  3 12:35:13 2020
+++ pkgsrc/devel/catch2/buildlink3.mk   Thu Jul 20 21:47:47 2023
@@ -1,10 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.1 2020/02/03 12:35:13 bsiegert Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2023/07/20 21:47:47 nia Exp $
 
 BUILDLINK_TREE+=       catch2
 
 .if !defined(CATCH2_BUILDLINK3_MK)
 CATCH2_BUILDLINK3_MK:=
 
+USE_CXX_FEATURES+=     c++11
+
 BUILDLINK_DEPMETHOD.catch2?=   build
 BUILDLINK_API_DEPENDS.catch2+= catch2>=2.11.1
 BUILDLINK_PKGSRCDIR.catch2?=   ../../devel/catch2



Home | Main Index | Thread Index | Old Index