From 31703df4a991a24dfa7309480b3cecf2c24c0a2c Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Mon, 7 Jun 2021 06:07:11 -0500 Subject: [PATCH] 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