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
34 lines
621 B
Makefile
34 lines
621 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= msgpack
|
|
PORTVERSION= 3.1.1
|
|
PORTREVISION= 1
|
|
DISTVERSIONPREFIX= cpp-
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= adamw@FreeBSD.org
|
|
COMMENT= Efficient binary serialization, like JSON but smaller and faster
|
|
|
|
LICENSE= BSL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt
|
|
|
|
TEST_DEPENDS= googletest>0:devel/googletest
|
|
|
|
USES= cmake pathfix
|
|
USE_LDCONFIG= yes
|
|
USE_GITHUB= yes
|
|
GH_PROJECT= msgpack-c
|
|
|
|
TEST_TARGET= test
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
# required for __sync _* atomic operations on sparc
|
|
USE_GCC= yes
|
|
.endif
|
|
|
|
pre-test:
|
|
cd ${WRKSRC} && ${CMAKE_BIN} . && ${MAKE_CMD}
|
|
|
|
.include <bsd.port.mk>
|