Date: Wed, 14 Mar 2018 06:39:57 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464460 - head/math/dynare Message-ID: <201803140639.w2E6dvwc036827@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803140639.w2E6dvwc036827>