On Fri, Nov 17, 2023 at 08:14:05PM +0100, Jeremie Courreges-Anglas wrote:
> On Fri, Nov 17 2023, Christian Weisgerber <[email protected]> wrote:
> > Updated list:
> >
> > net/gnugk C++ std::mem_fun
>
> The Makefile doesn't respect CXXFLAGS, it uses STDCCFLAGS.
> The following fixes the build.
>
> ok?
>
> (Technically it could have made sense to use CXXFLAGS instead of its
> clang-specific variant but I have not verified that the result still
> builds on sparc64.)
OK aja
>
> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/ports/net/gnugk/Makefile,v
> diff -u -p -r1.98 Makefile
> --- Makefile 21 Feb 2023 10:15:46 -0000 1.98
> +++ Makefile 17 Nov 2023 19:08:54 -0000
> @@ -3,6 +3,7 @@ BROKEN-hppa= libpt.so.7.0: undefined re
> COMMENT= H.323 gatekeeper
>
> V= 5.11
> +REVISION= 0
> GH_ACCOUNT= willamowius
> GH_PROJECT= gnugk
> GH_TAGNAME= v${V:S/./_/}
> @@ -22,6 +23,8 @@ WANTLIB += maxminddb netsnmp netsnmpagen
> WANTLIB += ssh ssl z
>
> COMPILER= base-clang ports-gcc base-gcc
> +# uses std::mem_fun
> +CXXFLAGS_base-clang = -std=gnu++14
>
> MODULES= lang/lua
>
> @@ -44,6 +47,7 @@ NO_TEST= Yes
> CONFIGURE_STYLE= gnu
>
> CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
> + STDCCFLAGS="${CXXFLAGS}" \
> LDFLAGS="-L${LOCALBASE}/lib" \
> OPENH323DIR=${LOCALBASE}/include/openh323 \
> OPENH323MAKEDIR=${LOCALBASE}/share/openh323 \
>
>
> --
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
--
Antoine