pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/cppunit Enable C++11 for all dependencies of cpp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/209742e9e1d1
branches:  trunk
changeset: 361367:209742e9e1d1
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Apr 20 08:39:03 2017 +0000

description:
Enable C++11 for all dependencies of cppunit, required as cppunit is now
built with it enabled.

diffstat:

 devel/cppunit/buildlink3.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 8d20daf8197f -r 209742e9e1d1 devel/cppunit/buildlink3.mk
--- a/devel/cppunit/buildlink3.mk       Thu Apr 20 08:04:11 2017 +0000
+++ b/devel/cppunit/buildlink3.mk       Thu Apr 20 08:39:03 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2012/05/07 01:53:20 dholland Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2017/04/20 08:39:03 jperkin Exp $
 
 BUILDLINK_TREE+=       cppunit
 
@@ -11,4 +11,7 @@
 BUILDLINK_CPPFLAGS.cppunit+=   -I${BUILDLINK_PREFIX.cppunit}/include/cppunit
 .endif # CPPUNIT_BUILDLINK3_MK
 
+# cppunit enables C++11 so all dependencies must be built the same way
+CXXFLAGS+=             -std=c++11
+
 BUILDLINK_TREE+=       -cppunit



Home | Main Index | Thread Index | Old Index