Sun Oct 25 12:56:55 2020 UTC ()
cppunit: Require a version of GCC with c++11 support


(nia)
diff -r1.29 -r1.30 pkgsrc/devel/cppunit/Makefile
diff -r1.11 -r1.12 pkgsrc/devel/cppunit/buildlink3.mk

cvs diff -r1.29 -r1.30 pkgsrc/devel/cppunit/Makefile (expand / switch to context diff)
--- pkgsrc/devel/cppunit/Makefile 2020/01/18 23:30:25 1.29
+++ pkgsrc/devel/cppunit/Makefile 2020/10/25 12:56:55 1.30
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2020/01/18 23:30:25 rillig Exp $
+# $NetBSD: Makefile,v 1.30 2020/10/25 12:56:55 nia Exp $
 
 DISTNAME=	cppunit-1.15.1
 CATEGORIES=	devel
@@ -9,10 +9,13 @@
 COMMENT=	C++ unit testing framework
 LICENSE=	gnu-lgpl-v2.1
 
-USE_LANGUAGES=		c c++11
+USE_LANGUAGES=		c c++
 USE_LIBTOOL=		yes
 USE_TOOLS+=		gmake
 GNU_CONFIGURE=		yes
+
+# configure: error: *** A compiler with support for C++11 language features is required.
+GCC_REQD+=		4.8
 
 PKGCONFIG_OVERRIDE=	cppunit.pc.in
 

cvs diff -r1.11 -r1.12 pkgsrc/devel/cppunit/buildlink3.mk (expand / switch to context diff)
--- pkgsrc/devel/cppunit/buildlink3.mk 2017/05/01 04:16:12 1.11
+++ pkgsrc/devel/cppunit/buildlink3.mk 2020/10/25 12:56:55 1.12
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2017/05/01 04:16:12 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2020/10/25 12:56:55 nia Exp $
 
 BUILDLINK_TREE+=	cppunit
 
@@ -9,6 +9,8 @@
 BUILDLINK_ABI_DEPENDS.cppunit+=	cppunit>=1.10.2nb5
 BUILDLINK_PKGSRCDIR.cppunit?=	../../devel/cppunit
 BUILDLINK_CPPFLAGS.cppunit+=	-I${BUILDLINK_PREFIX.cppunit}/include/cppunit
+
+GCC_REQD+=	4.8
 .endif # CPPUNIT_BUILDLINK3_MK
 
 BUILDLINK_TREE+=	-cppunit