summaryrefslogtreecommitdiff
path: root/devel/cppunit
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-04-20 08:39:03 +0000
committerjperkin <jperkin@pkgsrc.org>2017-04-20 08:39:03 +0000
commit7f6803c111cf30fd80ad68f9008e4ae416c48b6b (patch)
tree3769a746148bbc70a11427aff73fdefc67b0aec0 /devel/cppunit
parent1392eb676ab4fa988466c43e147b907f8f18669b (diff)
downloadpkgsrc-7f6803c111cf30fd80ad68f9008e4ae416c48b6b.tar.gz
Enable C++11 for all dependencies of cppunit, required as cppunit is now
built with it enabled.
Diffstat (limited to 'devel/cppunit')
-rw-r--r--devel/cppunit/buildlink3.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/cppunit/buildlink3.mk b/devel/cppunit/buildlink3.mk
index ccc5de80f9f..11412038446 100644
--- a/devel/cppunit/buildlink3.mk
+++ b/devel/cppunit/buildlink3.mk
@@ -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_PKGSRCDIR.cppunit?= ../../devel/cppunit
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