[Bug 213768] editors/libreoffice: Fix build with lang/gcc5 on 11.0-RELEASE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 10 15:24:08 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213768

Curtis Hamilton <hamiltcl at verizon.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hamiltcl at verizon.net

--- Comment #29 from Curtis Hamilton <hamiltcl at verizon.net> ---
I've discovered instead of patching multiple files, it's easier to make the
below change in the Makefile.

Change from:

.if ${COMPILER_FEATURES:Mlibstdc++}
BROKEN=         Build with system libstdc++ is unsupported
.endif

Change to:

.if ${COMPILER_FEATURES:Mlibstdc++}
MAKE_ENV+=      WITH_LIBCPLUSPLUS=yes
CXXFLAGS+=      -D_GLIBCXX_USE_C99=1
.endif

This worked for me and I was able to buld LO5 (r426579 2016-11-20).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the freebsd-office mailing list