svn commit: r500730 - head/textproc/uncrustify

Piotr Kubaj pkubaj at FreeBSD.org
Fri May 3 13:55:51 UTC 2019


Author: pkubaj
Date: Fri May  3 13:55:50 2019
New Revision: 500730
URL: https://svnweb.freebsd.org/changeset/ports/500730

Log:
  textproc/uncrustify: fix build with GCC-based architectures
  
  Adding USES=compiler:c++11-lang fixes this port on GCC architectures:
  cc1plus: error: unrecognized command line option "-std=gnu++0x"
  
  Approved by:	mentors (implicit approval)

Modified:
  head/textproc/uncrustify/Makefile

Modified: head/textproc/uncrustify/Makefile
==============================================================================
--- head/textproc/uncrustify/Makefile	Fri May  3 13:15:55 2019	(r500729)
+++ head/textproc/uncrustify/Makefile	Fri May  3 13:55:50 2019	(r500730)
@@ -12,14 +12,10 @@ COMMENT=	Highly configurable source code beautifier
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-#BROKEN_mips=		fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
-#BROKEN_mips64=		fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
-#BROKEN_powerpc64=	fails to compile: cc1plus: error: unrecognized command line option "-std=gnu++0x"
-
 USE_GITHUB=	yes
 GH_TAGNAME=	dbe32c0
 
-USES=		cmake
+USES=		cmake compiler:c++11-lang
 CMAKE_ARGS=	-DNoGitVersionString:BOOL=TRUE
 TEST_TARGET=	test
 


More information about the svn-ports-all mailing list