summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-12-06 11:18:40 +0000
committernia <nia@pkgsrc.org>2020-12-06 11:18:40 +0000
commitfc1b67d3a8796a97ef69647aa9dad70f149d7f98 (patch)
tree728b811c67ab3167c3e22bd93fb954f335f25ff5 /x11
parenteee9f523be2344ea80775d745d8c42fe5dd81b77 (diff)
downloadpkgsrc-fc1b67d3a8796a97ef69647aa9dad70f149d7f98.tar.gz
qt5-qtbase: Set GCC_REQD before including bsd.prefs.mk
Should help with the current workarounds to avoid gcc49 and gcc5 on CentOS 7 due to inlining bugs.
Diffstat (limited to 'x11')
-rw-r--r--x11/qt5-qtbase/Makefile.common8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/qt5-qtbase/Makefile.common b/x11/qt5-qtbase/Makefile.common
index b79ead64caa..cd169f876f5 100644
--- a/x11/qt5-qtbase/Makefile.common
+++ b/x11/qt5-qtbase/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.46 2020/11/29 22:33:21 dbj Exp $
+# $NetBSD: Makefile.common,v 1.47 2020/12/06 11:18:40 nia Exp $
# used by x11/qt5-mysql/Makefile
# used by x11/qt5-odbc/Makefile
# used by x11/qt5-psql/Makefile
@@ -30,6 +30,9 @@
# used by x11/qt5-qtx11extras/Makefile
# used by x11/qt5-qtxmlpatterns/Makefile
+# https://doc.qt.io/qt-5/supported-platforms.html
+GCC_REQD+= 5
+
.include "../../x11/qt5/Makefile.common"
.include "../../mk/dlopen.buildlink3.mk"
@@ -38,9 +41,6 @@ BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:Q}
USE_LANGUAGES= c gnu++11
USE_TOOLS+= gmake perl:build pkg-config
-# https://doc.qt.io/qt-5/supported-platforms.html
-GCC_REQD+= 5
-
# Avoid failures to due 'register' usage in X11 headers.
CFLAGS+= -Wno-register