Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2021 11:02:42 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: d2de89c028ab - main - net/cpp-pcp-client: fix build on GCC-based systems
Message-ID:  <202106071102.157B2gp8066935@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=d2de89c028abf364aa6fd2f3da969c7bbc786605

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



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