pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/cppunit



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Oct 25 12:56:55 UTC 2020

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/cppunit/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/cppunit/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/cppunit/Makefile
diff -u pkgsrc/devel/cppunit/Makefile:1.29 pkgsrc/devel/cppunit/Makefile:1.30
--- pkgsrc/devel/cppunit/Makefile:1.29  Sat Jan 18 23:30:25 2020
+++ pkgsrc/devel/cppunit/Makefile       Sun Oct 25 12:56:55 2020
@@ -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 @@ HOMEPAGE=     https://www.freedesktop.org/wi
 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"

Index: pkgsrc/devel/cppunit/buildlink3.mk
diff -u pkgsrc/devel/cppunit/buildlink3.mk:1.11 pkgsrc/devel/cppunit/buildlink3.mk:1.12
--- pkgsrc/devel/cppunit/buildlink3.mk:1.11     Mon May  1 04:16:12 2017
+++ pkgsrc/devel/cppunit/buildlink3.mk  Sun Oct 25 12:56:55 2020
@@ -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_API_DEPENDS.cppunit+= cppunit>
 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