pkgsrc-Bugs archive

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

pkg/58509: x11/qt5-qtbase actually requires a C++17-capable compiler



>Number:         58509
>Category:       pkg
>Synopsis:       x11/qt5-qtbase actually requires a C++17-capable compiler
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 29 01:20:00 +0000 2024
>Originator:     Phil Krylov
>Release:        pkgsrc-current
>Organization:
krylov.eu
>Environment:
Linux localhost.localdomain 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
>Description:
On CentOS 7, x11/qt5-qtbase build fails in the configure phase, as icu-75.1 needs a C++17-capable compiler.
>How-To-Repeat:
bmake -C x11/qt5-qtbase bin-install
>Fix:
Index: x11/qt5-qtbase/Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/x11/qt5-qtbase/Makefile.common,v
retrieving revision 1.53
diff -p -u -r1.53 Makefile.common
--- x11/qt5-qtbase/Makefile.common	30 May 2024 06:39:50 -0000	1.53
+++ x11/qt5-qtbase/Makefile.common	29 Jul 2024 01:10:31 -0000
@@ -42,6 +42,7 @@ GCC_REQD+=	5
 BUILDLINK_TRANSFORM+=	opt:-ldl:${BUILDLINK_LDADD.dl:Q}
 
 USE_LANGUAGES=		c c++
+USE_CXX_FEATURES=	c++17
 FORCE_CXX_STD=		gnu++17
 USE_TOOLS+=		gmake perl:build pkg-config
 


Home | Main Index | Thread Index | Old Index