summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-03-26 14:11:29 +0000
committernia <nia@pkgsrc.org>2020-03-26 14:11:29 +0000
commitfa00b4a479a86937fbd5eacfb058a70a55837c69 (patch)
treee4228888dcaebc45747045cb8c77f12ee1ec00f1 /x11
parent3a0d4bf7d3e6f9b97549f19ce9fbdced99031d59 (diff)
downloadpkgsrc-fa00b4a479a86937fbd5eacfb058a70a55837c69.tar.gz
qt5: Needs c++11 compiler
Diffstat (limited to 'x11')
-rw-r--r--x11/qt5-qtbase/Makefile.common5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/qt5-qtbase/Makefile.common b/x11/qt5-qtbase/Makefile.common
index 870284246f9..4a301680e51 100644
--- a/x11/qt5-qtbase/Makefile.common
+++ b/x11/qt5-qtbase/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.40 2020/03/18 21:55:23 tnn Exp $
+# $NetBSD: Makefile.common,v 1.41 2020/03/26 14:11:29 nia Exp $
# used by x11/qt5-mysql/Makefile
# used by x11/qt5-odbc/Makefile
# used by x11/qt5-psql/Makefile
@@ -38,6 +38,9 @@ BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
USE_LANGUAGES= c gnu++11
USE_TOOLS+= gmake perl:build pkg-config
+# C++11
+GCC_REQD+= 4.7
+
# Avoid failures to due 'register' usage in X11 headers.
CFLAGS+= -Wno-register