git: d2de89c028ab - main - net/cpp-pcp-client: fix build on GCC-based systems

Mark Linimon linimon at FreeBSD.org
Mon Jun 7 11:02:43 UTC 2021


The branch main has been updated by linimon:

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

commit d2de89c028abf364aa6fd2f3da969c7bbc786605
Author:     Mark Linimon <linimon at FreeBSD.org>
AuthorDate: 2021-06-07 11:01:11 +0000
Commit:     Mark Linimon <linimon at FreeBSD.org>
CommitDate: 2021-06-07 11:01:11 +0000

    net/cpp-pcp-client: 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"
---
 net/cpp-pcp-client/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/cpp-pcp-client/Makefile b/net/cpp-pcp-client/Makefile
index 73ba2abe17be..dbad9b265aec 100644
--- a/net/cpp-pcp-client/Makefile
+++ b/net/cpp-pcp-client/Makefile
@@ -11,7 +11,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 LIB_DEPENDS=	libboost_filesystem.so:devel/boost-libs \
 		libleatherman_json_container.so:devel/leatherman
 
-USES=		cmake ssl
+USES=		cmake compiler:c++11-lang ssl
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 


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