Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2021 11:08:25 GMT
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 31703df4a991 - main - sysutils/pxp-agent: fix build on GCC-based systems
Message-ID:  <202106071108.157B8Pis067568@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by linimon:

URL: https://cgit.FreeBSD.org/ports/commit/?id=31703df4a991a24dfa7309480b3cecf2c24c0a2c

commit 31703df4a991a24dfa7309480b3cecf2c24c0a2c
Author:     Mark Linimon <linimon@FreeBSD.org>
AuthorDate: 2021-06-07 11:07:11 +0000
Commit:     Mark Linimon <linimon@FreeBSD.org>
CommitDate: 2021-06-07 11:07:11 +0000

    sysutils/pxp-agent: fix build on GCC-based systems
    
    by adding compiler:c++11-lang to USES:
    
      cc1plus: error: unrecognized command line option "-Wno-unused-local-typedefs"
      cc1plus: error: unrecognized command line option "-Wno-maybe-uninitialized"
      cc1plus: error: unrecognized command line option "-std=c++11"
---
 sysutils/pxp-agent/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysutils/pxp-agent/Makefile b/sysutils/pxp-agent/Makefile
index 8f89f96ab35b..2dec8aa06268 100644
--- a/sysutils/pxp-agent/Makefile
+++ b/sysutils/pxp-agent/Makefile
@@ -13,7 +13,7 @@ LIB_DEPENDS=	liblibcpp-pcp-client.so:net/cpp-pcp-client \
 		liblibcpp-hocon.so:devel/cpp-hocon \
 		libleatherman_util.so:devel/leatherman
 
-USES=		cmake shebangfix ssl
+USES=		cmake compiler:c++11-lang shebangfix ssl
 USE_GITHUB=	yes
 
 GH_ACCOUNT=	puppetlabs



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