From owner-svn-ports-head@freebsd.org Wed Mar 14 06:39:57 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76424F596AE; Wed, 14 Mar 2018 06:39:57 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2769E6F8C5; Wed, 14 Mar 2018 06:39:57 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2243A2473C; Wed, 14 Mar 2018 06:39:57 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2E6dvmB036828; Wed, 14 Mar 2018 06:39:57 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2E6dvwc036827; Wed, 14 Mar 2018 06:39:57 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803140639.w2E6dvwc036827@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 14 Mar 2018 06:39:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464460 - head/math/dynare X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/math/dynare X-SVN-Commit-Revision: 464460 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2018 06:39:57 -0000 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