pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cppunit cppunit: Require a version of GCC with c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/544b60d6f91a
branches:  trunk
changeset: 441072:544b60d6f91a
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Oct 25 12:56:55 2020 +0000

description:
cppunit: Require a version of GCC with c++11 support

diffstat:

 devel/cppunit/Makefile      |  7 +++++--
 devel/cppunit/buildlink3.mk |  4 +++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r e3a6182ebcd6 -r 544b60d6f91a devel/cppunit/Makefile
--- a/devel/cppunit/Makefile    Sun Oct 25 12:53:54 2020 +0000
+++ b/devel/cppunit/Makefile    Sun Oct 25 12:56:55 2020 +0000
@@ -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,11 +9,14 @@
 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
 
 .include "options.mk"
diff -r e3a6182ebcd6 -r 544b60d6f91a devel/cppunit/buildlink3.mk
--- a/devel/cppunit/buildlink3.mk       Sun Oct 25 12:53:54 2020 +0000
+++ b/devel/cppunit/buildlink3.mk       Sun Oct 25 12:56:55 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index