pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/geography/gama



* On 2023-07-11 at 13:16 BST, Thomas Klausner wrote:

On Mon, Jul 10, 2023 at 03:01:23PM +0000, nia wrote:
On Mon, Jul 10, 2023 at 09:22:37AM -0400, Greg Troxel wrote:
> "Nia Alarie" <nia%netbsd.org@localhost> writes:
>
> > Modified Files:
> >       pkgsrc/geography/gama: Makefile
> >
> > Log Message:
> > gama: Sync compiler requirements with reality.
>
> > @@ -11,10 +11,13 @@ HOMEPAGE= https://www.gnu.org/s/gama/
> >  COMMENT=     Geodetic network adjustment (surveying)
> >  LICENSE=     gnu-gpl-v2 # or later
> >
> > -USE_LANGUAGES=       c c++11
> > +USE_LANGUAGES=       c c++
>
> Why is c++11 changed to c++, rather than to c++14?

USE_LANGUAGES is for forcing a -std=cXX value through the wrappers,
gama already uses -std=c++14 upstream.

If we know that upstream really wants c++14, I think we should add it
in USE_LANGUAGES. What's the disadvantage?

The disadvantage is that you are now tied in to updating USE_LANGUAGES every time a package changes the standard it targets.

I agree with nia that it should be "c++" unless we absolutely need to override it (which is effectively an upstream bug).

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com



Home | Main Index | Thread Index | Old Index