git: 31703df4a991 - main - sysutils/pxp-agent: fix build on GCC-based systems

Mark Linimon linimon at FreeBSD.org
Mon Jun 7 11:08:26 UTC 2021


The branch main has been updated by linimon:

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

commit 31703df4a991a24dfa7309480b3cecf2c24c0a2c
Author:     Mark Linimon <linimon at FreeBSD.org>
AuthorDate: 2021-06-07 11:07:11 +0000
Commit:     Mark Linimon <linimon at 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


More information about the dev-commits-ports-main mailing list