Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2019 13:55:50 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500730 - head/textproc/uncrustify
Message-ID:  <201905031355.x43Dto0X053147@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905031355.x43Dto0X053147>