Date: Fri, 7 Jul 2023 07:42:25 +0200 From: Rainer Hurling <rhurlin@gwdg.de> To: Nuno Teixeira <eduardo@freebsd.org> Cc: Raphael Kubo da Costa <rakuco@freebsd.org>, <ports-committers@freebsd.org>, <dev-commits-ports-all@freebsd.org>, <dev-commits-ports-main@freebsd.org> Subject: Re: git: b56d0bc41af7 - main - devel/libcutl: Explain why USE_CXXSTD=c++11 is used Message-ID: <4cc5665f-a4ef-a4ef-226a-a9a59b29f3a0@gwdg.de> In-Reply-To: <CAFDf7UKJh%2BscZ-zkmwWUNeQbVB%2B42TQSN8-m102iChi8wg0WoA@mail.gmail.com> References: <202307050850.3658oPOA049562@gitrepo.freebsd.org> <CAFDf7UJRc4bd3XVq%2Bb7Za2cLN7h_hkN1mpPTGQiSajV1p9A=0g@mail.gmail.com> <ebcdf01a-2b73-39c3-b6e4-25659e53b1ca@gwdg.de> <e56d377d0985b86be2291b64bb3c686742283dde.camel@FreeBSD.org> <6cf6a5eb00dfac8358dfcb1e1d5b69f293c3e85a.camel@FreeBSD.org> <4701f862-7a0b-afab-48fd-a62b6f5ec308@gwdg.de> <CAFDf7UKJh%2BscZ-zkmwWUNeQbVB%2B42TQSN8-m102iChi8wg0WoA@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Hi Nuno,
Am 06.07.23 um 23:51 schrieb Nuno Teixeira:
> Hello Rainer,
>
> Still, one more question: is it safe to remove USES=compiler:c++11-lang
> for architectures other than amd64 and i386 and just use
> USE_STDCXX=gnu++14. I have no way to test for arm, etc.
>
>
> I've asked the same for compiler:c11 on mailing today.
> My doubt is: is it neccessary using c11, c++11, etc when available
> compilers support it or have capabilities for it?
>
> I can do poudriere testport and run test on a rpi4 running 13 stable,
> just send me diff.
Thanks for the offer. Here is a diff against games/eboard with the to
changes:
diff --git a/games/eboard/Makefile b/games/eboard/Makefile
index 3f78f9e91874..ce399415cba8 100644
--- a/games/eboard/Makefile
+++ b/games/eboard/Makefile
@@ -20,10 +20,10 @@ LIB_DEPENDS=
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libpng.so:graphics/png
-USES= compiler:c++11-lang gnome gstreamer perl5 pkgconfig
shebangfix tar:bzip2
+USES= gnome gstreamer perl5 pkgconfig shebangfix tar:bzip2
# eboard 1.1.13 is not compatible with C++17, which is the default since
# clang 16. This means ports depending on it also need to use at most
C++14.
-USE_CXXSTD= c++11
+USE_CXXSTD= c++14
USE_GITHUB= yes
GH_ACCOUNT= fbergo
USE_GNOME= cairo gdkpixbuf2 gtk20
It would be very nice if you could also look for arm, if the package is
still binary compatible compared to the unpatched version :)
Thanks a lot !
Best wishes,
Rainer
>
> Cheers,
>
> --
> Nuno Teixeira
> FreeBSD Committer (ports)
[-- Attachment #2 --]
diff --git a/games/eboard/Makefile b/games/eboard/Makefile
index 3f78f9e91874..ce399415cba8 100644
--- a/games/eboard/Makefile
+++ b/games/eboard/Makefile
@@ -20,10 +20,10 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libpng.so:graphics/png
-USES= compiler:c++11-lang gnome gstreamer perl5 pkgconfig shebangfix tar:bzip2
+USES= gnome gstreamer perl5 pkgconfig shebangfix tar:bzip2
# eboard 1.1.13 is not compatible with C++17, which is the default since
# clang 16. This means ports depending on it also need to use at most C++14.
-USE_CXXSTD= c++11
+USE_CXXSTD= c++14
USE_GITHUB= yes
GH_ACCOUNT= fbergo
USE_GNOME= cairo gdkpixbuf2 gtk20
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4cc5665f-a4ef-a4ef-226a-a9a59b29f3a0>
