c9489c72a2
math/cppad: fix build on GCC architectures The c++ complier flag __cplusplus is less than 201103. Starting with cppad-20201202, c++11 or higher is required.
22 lines
367 B
Makefile
22 lines
367 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cppad
|
|
DISTVERSION= 20210000.0
|
|
CATEGORIES= math
|
|
PKGNAMEPREFIX= coin-or-
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= C++ Algorithmic Differentiation package
|
|
|
|
LICENSE= EPL
|
|
|
|
USES= cmake compiler:c++11-lang eigen:3,run
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= coin-or
|
|
GH_PROJECT= CppAD
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ARGS= -Dcppad_prefix=${PREFIX}
|
|
|
|
.include <bsd.port.mk>
|