Re: git: 5992b81d1d90 - main - sysutils/samesame: fix build on FreeBSD 15-CURRENT
Date: Tue, 11 Feb 2025 14:29:52 UTC
Why not set USE_CXXSTD? On 25-02-11 13:26:33, Robert Clausecker wrote: > The branch main has been updated by fuz: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=5992b81d1d90669a5bf2dc36e543d8937e5203c7 > > commit 5992b81d1d90669a5bf2dc36e543d8937e5203c7 > Author: Robert Clausecker <fuz@FreeBSD.org> > AuthorDate: 2025-02-05 15:24:45 +0000 > Commit: Robert Clausecker <fuz@FreeBSD.org> > CommitDate: 2025-02-11 13:25:54 +0000 > > sysutils/samesame: fix build on FreeBSD 15-CURRENT > > Requires old C++11 standard. > Also builds fine on FreeBSD 14. > > Approved by: portmgr (build fix blanket) > MFH: 2025Q1 > --- > sysutils/samesame/Makefile | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sysutils/samesame/Makefile b/sysutils/samesame/Makefile > index cdbe802b4966..05b4856ad02b 100644 > --- a/sysutils/samesame/Makefile > +++ b/sysutils/samesame/Makefile > @@ -11,8 +11,6 @@ WWW= https://samesame.kruijff.org/ > > LICENSE= BSD2CLAUSE > > -BROKEN_FreeBSD_14= ld: error: undefined symbol: eprol > - > CONFLICTS= samefile > > HAS_CONFIGURE= yes > @@ -23,6 +21,8 @@ CONFIGURE_ARGS= --enable-samechflags --enable-samechmod \ > USES= tar:bzip2 > TEST_TARGET= check > > +CXXFLAGS+= -std=c++11 > + > OPTIONS_DEFINE= DEBUG DISK_STORAGE LOW_MEMORY_PROFILE \ > EXPERIMENTAL PROFILER > OPTIONS_SUB= yes