svn commit: r464460 - head/math/dynare
Yuri Victorovich
yuri at FreeBSD.org
Wed Mar 14 06:39:57 UTC 2018
Author: yuri
Date: Wed Mar 14 06:39:56 2018
New Revision: 464460
URL: https://svnweb.freebsd.org/changeset/ports/464460
Log:
math/dynare: Unbreak by adding --std=c++14 when built with OCTAVE option
The recent octave update introduced c++11/c++14 code
that broke dynare build.
Approved by: portmgr (port compliance, infrastructure)
Modified:
head/math/dynare/Makefile
Modified: head/math/dynare/Makefile
==============================================================================
--- head/math/dynare/Makefile Wed Mar 14 06:11:13 2018 (r464459)
+++ head/math/dynare/Makefile Wed Mar 14 06:39:56 2018 (r464460)
@@ -21,8 +21,8 @@ LIB_DEPENDS= libumfpack.so:math/suitesparse \
libfftw3_threads.so:math/fftw3 \
libfftw3f_threads.so:math/fftw3-float
-GNU_CONFIGURE= yes
USES= fortran gmake localbase pkgconfig shebangfix tar:xz
+GNU_CONFIGURE= yes
SHEBANG_FILES= matlab/modules/reporting/success.sh
INFO= dynare
@@ -36,6 +36,8 @@ OPTIONS_SUB= yes
MATLAB_CONFIGURE_ENABLE= matlab
OCTAVE_CONFIGURE_ENABLE= octave
OCTAVE_BUILD_DEPENDS= octave:math/octave
+OCTAVE_USES= compiler:c++14-lang
+OCTAVE_VARS= CXXFLAGS=--std=c++14 # https://github.com/DynareTeam/dynare/issues/1599
ONLY_FOR_ARCH= i386 amd64
ARCH_amd64= 64
More information about the svn-ports-head
mailing list