freebsd-ports/net/cpp-pcp-client/Makefile
Mark Linimon d2de89c028 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"
2021-06-07 06:01:11 -05:00

23 lines
486 B
Makefile

PORTNAME= cpp-pcp-client
PORTVERSION= 1.7.3
CATEGORIES= net
MAINTAINER= puppet@FreeBSD.org
COMMENT= Client libraries for the PCP protocol
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \
libleatherman_json_container.so:devel/leatherman
USES= cmake compiler:c++11-lang ssl
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= puppetlabs
CMAKE_OFF= ENABLE_CXX_WERROR
PLIST_SUB+= PORTVERSION=${PORTVERSION}
.include <bsd.port.mk>