# HG changeset patch # User osayama # Date 1484006414 28800 # Node ID 47685fed5242f07ccda1e2015ffc69000de78490 # Parent b8b4d11b11b99068d43854701772ee490c188469 25250556 groff should be compiled with c++11 mode. diff -r b8b4d11b11b9 -r 47685fed5242 components/groff/Makefile --- a/components/groff/Makefile Mon Jan 09 14:17:43 2017 -0800 +++ b/components/groff/Makefile Mon Jan 09 16:00:14 2017 -0800 @@ -47,6 +47,8 @@ CONFIGURE_OPTIONS += \ --with-appresdir=$(CONFIGURE_PREFIX)/X11/lib/X11/app-defaults +CXXFLAGS += -std=c++11 + # Don't generate tmac wrappers for the Solaris troff macro packages. # Some man pages (such as groff.1) use long macro name definitions # which fail in compatibility mode. See: @@ -89,6 +91,8 @@ REQUIRED_PACKAGES += shell/ksh93 REQUIRED_PACKAGES += system/core-os REQUIRED_PACKAGES += system/library/c++-runtime +REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime +REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime REQUIRED_PACKAGES += system/library/math REQUIRED_PACKAGES += text/doctools REQUIRED_PACKAGES += text/gawk