From 18680413ad33f9805db59f9704fe9e5c0bf448c7 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 12 Dec 2017 02:57:13 +0000 Subject: [PATCH] textproc/ansifilter: require C++11 toolchain (on powerpc*, mips*, sparc*) cc1plus: error: unrecognized command line option "-std=c++11" main.cpp:118:5: error: use of undeclared identifier 'unique_ptr' unique_ptr generator(ansifilter::CodeGenerator::getInstance(op... ^ Reported by: pkg-fallout (mips64) --- textproc/ansifilter/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/textproc/ansifilter/Makefile b/textproc/ansifilter/Makefile index acdf991754a7..0b8c857af6e3 100644 --- a/textproc/ansifilter/Makefile +++ b/textproc/ansifilter/Makefile @@ -12,9 +12,7 @@ COMMENT= Customizable ANSI Code Converter LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_powerpc64= fails to compile: cc1plus: error: unrecognized command line option -std=c++11 - -USES= gmake tar:bzip2 +USES= compiler:c++11-lib gmake tar:bzip2 MAKEFILE= makefile PORTDOCS= ChangeLog README