Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2020 17:43:34 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r556298 - head/devel/cgdb
Message-ID:  <202011251743.0APHhYuc021311@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Wed Nov 25 17:43:33 2020
New Revision: 556298
URL: https://svnweb.freebsd.org/changeset/ports/556298

Log:
  Add compiler:c++11-lang to USES to fix build on GCC-based systems:
  
    cc1plus: error: unrecognized command line option "-std=c++11"
  
  Reported by:	lwhsu

Modified:
  head/devel/cgdb/Makefile

Modified: head/devel/cgdb/Makefile
==============================================================================
--- head/devel/cgdb/Makefile	Wed Nov 25 16:58:19 2020	(r556297)
+++ head/devel/cgdb/Makefile	Wed Nov 25 17:43:33 2020	(r556298)
@@ -12,7 +12,8 @@ COMMENT=	Curses-based interface to the GNU Debugger
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		makeinfo ncurses:base readline # fails with ncurses:port because readline is linked with ncurses:base
+USES=		compiler:c++11-lang makeinfo ncurses:base \
+		readline # fails with ncurses:port because readline is linked with ncurses:base
 
 GNU_CONFIGURE=	yes
 



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