mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
a9f015d155
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
37 lines
1.0 KiB
Makefile
37 lines
1.0 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ignition-math
|
|
DISTVERSION= 6.0.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= math
|
|
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= General purpose math library for robot applications
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ignition-cmake==2:devel/ignition-cmake
|
|
|
|
USES= compiler:c++17-lang cmake:outsource eigen:3
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_OFF= BUILD_TESTING
|
|
|
|
BB_ACCOUNT= ignitionrobotics
|
|
BB_PROJECT= ign-math
|
|
BB_COMMIT= 46f3dd24499c
|
|
|
|
WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
|
|
|
|
PLIST_SUB+= MATH_IGN_VER=math${DISTVERSION:R:R}
|
|
|
|
do-test: # one test is known to fail: https://bitbucket.org/ignitionrobotics/ign-math/issues/98
|
|
@cd ${BUILD_WRKSRC} && \
|
|
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING=ON ${CMAKE_SOURCE_PATH} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
|
|
|
|
.include <bsd.port.mk>
|