summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz>2017-04-26 06:12:25 +0000
committerwiz <wiz>2017-04-26 06:12:25 +0000
commit7cfc71402f0c2a70912782223461c2cebe95156a (patch)
tree4dc08990564592966ffb32be0f9147c574410e7d /x11
parentfe585f96e3876be58c4db47fb77fa7cc9ec2918c (diff)
downloadpkgsrc-7cfc71402f0c2a70912782223461c2cebe95156a.tar.gz
Compile with -std=c++11. Needed for compiling with icu;
set for all qt5 packages for consistency.
Diffstat (limited to 'x11')
-rw-r--r--x11/qt5-qtbase/Makefile.common3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/qt5-qtbase/Makefile.common b/x11/qt5-qtbase/Makefile.common
index 1034252a996..9ffbba98c17 100644
--- a/x11/qt5-qtbase/Makefile.common
+++ b/x11/qt5-qtbase/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.19 2016/02/26 11:27:16 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.20 2017/04/26 06:12:25 wiz Exp $
# used by x11/qt5-mysql/Makefile
# used by x11/qt5-odbc/Makefile
# used by x11/qt5-psql/Makefile
@@ -32,6 +32,7 @@
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}
USE_LANGUAGES= c c++
+CXXFLAGS+= -std=c++11
USE_LIBTOOL= yes
USE_TOOLS+= gmake perl:build pkg-config