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 unified 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,21 +1,24 @@ @@ -1,21 +1,24 @@
1# $NetBSD: Makefile,v 1.29 2020/01/18 23:30:25 rillig Exp $ 1# $NetBSD: Makefile,v 1.30 2020/10/25 12:56:55 nia Exp $
2 2
3DISTNAME= cppunit-1.15.1 3DISTNAME= cppunit-1.15.1
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= http://dev-www.libreoffice.org/src/ 5MASTER_SITES= http://dev-www.libreoffice.org/src/
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= https://www.freedesktop.org/wiki/Software/cppunit 8HOMEPAGE= https://www.freedesktop.org/wiki/Software/cppunit
9COMMENT= C++ unit testing framework 9COMMENT= C++ unit testing framework
10LICENSE= gnu-lgpl-v2.1 10LICENSE= gnu-lgpl-v2.1
11 11
12USE_LANGUAGES= c c++11 12USE_LANGUAGES= c c++
13USE_LIBTOOL= yes 13USE_LIBTOOL= yes
14USE_TOOLS+= gmake 14USE_TOOLS+= gmake
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16 16
 17# configure: error: *** A compiler with support for C++11 language features is required.
 18GCC_REQD+= 4.8
 19
17PKGCONFIG_OVERRIDE= cppunit.pc.in 20PKGCONFIG_OVERRIDE= cppunit.pc.in
18 21
19.include "options.mk" 22.include "options.mk"
20 23
21.include "../../mk/bsd.pkg.mk" 24.include "../../mk/bsd.pkg.mk"

cvs diff -r1.11 -r1.12 pkgsrc/devel/cppunit/buildlink3.mk (expand / switch to unified 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,14 +1,16 @@ @@ -1,14 +1,16 @@
1# $NetBSD: buildlink3.mk,v 1.11 2017/05/01 04:16:12 ryoon Exp $ 1# $NetBSD: buildlink3.mk,v 1.12 2020/10/25 12:56:55 nia Exp $
2 2
3BUILDLINK_TREE+= cppunit 3BUILDLINK_TREE+= cppunit
4 4
5.if !defined(CPPUNIT_BUILDLINK3_MK) 5.if !defined(CPPUNIT_BUILDLINK3_MK)
6CPPUNIT_BUILDLINK3_MK:= 6CPPUNIT_BUILDLINK3_MK:=
7 7
8BUILDLINK_API_DEPENDS.cppunit+= cppunit>=1.10.2 8BUILDLINK_API_DEPENDS.cppunit+= cppunit>=1.10.2
9BUILDLINK_ABI_DEPENDS.cppunit+= cppunit>=1.10.2nb5 9BUILDLINK_ABI_DEPENDS.cppunit+= cppunit>=1.10.2nb5
10BUILDLINK_PKGSRCDIR.cppunit?= ../../devel/cppunit 10BUILDLINK_PKGSRCDIR.cppunit?= ../../devel/cppunit
11BUILDLINK_CPPFLAGS.cppunit+= -I${BUILDLINK_PREFIX.cppunit}/include/cppunit 11BUILDLINK_CPPFLAGS.cppunit+= -I${BUILDLINK_PREFIX.cppunit}/include/cppunit
 12
 13GCC_REQD+= 4.8
12.endif # CPPUNIT_BUILDLINK3_MK 14.endif # CPPUNIT_BUILDLINK3_MK
13 15
14BUILDLINK_TREE+= -cppunit 16BUILDLINK_TREE+= -cppunit