tech-pkg archive

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

Re: CVS commit: pkgsrc/x11/qt5-qtbase



On Thu, May 30, 2024 at 11:17:52PM +0900, Ryo ONODERA wrote:
> Hi,
> 
> Greg Troxel <gdt%lexort.com@localhost> writes:
> 
> > "Ryo ONODERA" <ryoon%netbsd.org@localhost> writes:
> >
> >> Module Name:	pkgsrc
> >> Committed By:	ryoon
> >> Date:		Thu May 30 06:39:50 UTC 2024
> >>
> >> Modified Files:
> >> 	pkgsrc/x11/qt5-qtbase: Makefile.common
> >>
> >> Log Message:
> >> qt5: Force gnu++17 for the latest textproc/icu
> >>
> >> * Fix an icu-related error in configure stage.
> >
> > If icu requires gnu++17 then presumably it probably should be setting
> > that in bl3 (plus it's broken but I know that isn't going to change :-)
> > rather than setting FORCE_CXX_STD in using packages.
> 
> Some direct consumers of textproc/icu, for example www/firefox and
> misc/libreoffice, dislike FORCE_CXX_STD because they use multiple -std=
> options in one package.
> 
> Defining FORCE_CXX_STD in textproc/icu/buildlink3.mk will break
> their builds.

Just one nitpick: icu's configure.ac mentions adding c++17 if no
-std is set. Are you going for gnu++17 because of the "GXX" test
beforehand?

(BTW this _is_ new in icu 75.1. 74.2 just checked for std:string_view.)

(I think harfbuzz-icu might have the same problem)


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index