freebsd-ports/devel/cpp-hocon/Makefile
Jan Beich 8dd708769f devel/cpp-hocon: unbreak with boost 1.72
../CMakeFiles/libprojectsrc.dir/src/parseable.cc.o:(.data+0x0):
  undefined reference to `typeinfo for boost::filesystem::filesystem_error'
2019-10-25 22:47:49 +00:00

31 lines
655 B
Makefile

# $FreeBSD$
PORTNAME= cpp-hocon
PORTVERSION= 0.2.1
PORTREVISION= 6
CATEGORIES= devel
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= caab27550982.patch:-p1
MAINTAINER= puppet@FreeBSD.org
COMMENT= C++ configuration library
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libleatherman_util.so:devel/leatherman
USES= cmake:noninja compiler:c++11-lang
USE_GITHUB= yes
GH_ACCOUNT= puppetlabs
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=SHARED
CMAKE_OFF= ENABLE_CXX_WERROR
TEST_TARGET= test
USE_LDCONFIG= yes
.include <bsd.port.mk>