mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. 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, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= restbed
|
|
DISTVERSION= 4.6
|
|
PORTREVISION= 3
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Asynchronous RESTful functionality to C++11 applications
|
|
|
|
LICENSE= AGPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cmake compiler:c++11-lib ssl
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Corvusoft
|
|
GH_TUPLE= Corvusoft:asio-dependency:f5c5708:a/dependency/asio \
|
|
Corvusoft:catch-dependency:8ebe94c:c/dependency/catch \
|
|
Corvusoft:kashmir-dependency:2f3913f:k/dependency/kashmir
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ON= BUILD_SHARED
|
|
CMAKE_ARGS= -DCMAKE_INSTALL_LIBDIR:STRING=lib
|
|
|
|
do-test: # tests only pass when net.inet6.ip6.v6only=0, see pkg-message
|
|
@${ECHO_MSG} "===> Configuring tests in ${PKGNAME}"
|
|
@cd ${CONFIGURE_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH}
|
|
@${ECHO_MSG} "===> Building tests in ${PKGNAME}"
|
|
@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS}
|
|
@${ECHO_MSG} "===> Running tests in ${PKGNAME}"
|
|
@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
|
|
|
|
.include <bsd.port.mk>
|