pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/qt5-qtbase qt5-qtbase: Set GCC_REQD before includi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/283fa7eafae0
branches:  trunk
changeset: 443067:283fa7eafae0
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Dec 06 11:18:40 2020 +0000

description:
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:

 x11/qt5-qtbase/Makefile.common |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 3611d36c7511 -r 283fa7eafae0 x11/qt5-qtbase/Makefile.common
--- a/x11/qt5-qtbase/Makefile.common    Sun Dec 06 11:11:31 2020 +0000
+++ b/x11/qt5-qtbase/Makefile.common    Sun Dec 06 11:18:40 2020 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index