defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
30 lines
604 B
Makefile
30 lines
604 B
Makefile
# Created by: Tim Niemueller <tim@niemueller.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= yaml-cpp
|
|
PORTVERSION= 0.6.2
|
|
PORTREVISION= 1
|
|
DISTVERSIONPREFIX= ${PORTNAME}-
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= madpilot@FreeBSD.org
|
|
COMMENT= YAML parser and emitter in C++ matching the YAML 1.2 spec
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake compiler:c++11-lang
|
|
USE_LDCONFIG= yes
|
|
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON -DYAML_CPP_BUILD_TOOLS=0
|
|
|
|
OPTIONS_DEFINE= TEST
|
|
OPTIONS_SUB= yes
|
|
|
|
TEST_CMAKE_BOOL= YAML_CPP_BUILD_TESTS
|
|
TEST_CONFLICTS_INSTALL= googletest
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= jbeder
|
|
|
|
.include <bsd.port.mk>
|