@@ -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
@@ -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