pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/www/nghttp2



David Holland <dholland-pkgchanges%netbsd.org@localhost> writes:

> On Fri, Jan 04, 2019 at 02:52:43PM +0000, Greg Troxel wrote:
>  > nghttp2: Add GCC_REQ for c++14
>  > 
>  > While the package without options does not actually use C++14,
>  > configure looks for it, and fails to find the C++ version of the C
>  > preprocessor, at least on betbsd-7 with gcc 4.8.5.
>  > 
>  > (Perhaps the cpp searching could be fixed, and the USE_LANGUAGES pushed
>  > into options that need it, but that seems more complicated than is
>  > useful, given that one more or less needs to have a C++14 cpmpiler
>  > anyway.)
>
> The problem with the cpp searching is the -std option triggered by
> having c++14 in USE_LANGUAGES. Setting it back to c++11 makes it build
> on -7 without needing to install a new gcc.
>
> Adding c++14 to USE_LANGUAGES in options.mk where needed should be
> sufficient.

I have a rotill of language use in final test that I'll commit later
today.   The base package does not even need C++...



Home | Main Index | Thread Index | Old Index