Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2019 19:43:48 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512370 - in head/math: casadi ipopt
Message-ID:  <201909191943.x8JJhmDo096519@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Thu Sep 19 19:43:47 2019
New Revision: 512370
URL: https://svnweb.freebsd.org/changeset/ports/512370

Log:
  math/casadi: fix build on GCC architectures
  
  Use C++11 compiler:
    Cannot enable C++11 features.
  
  Use it also for math/ipopt to be able to link math/casadi against it.
  
  Approved by:	mentors (implicit approval)

Modified:
  head/math/casadi/Makefile
  head/math/ipopt/Makefile

Modified: head/math/casadi/Makefile
==============================================================================
--- head/math/casadi/Makefile	Thu Sep 19 19:40:37 2019	(r512369)
+++ head/math/casadi/Makefile	Thu Sep 19 19:43:47 2019	(r512370)
@@ -12,7 +12,7 @@ COMMENT=	Symbolic framework for numeric optimization
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-USES=		cmake pkgconfig
+USES=		cmake compiler:c++11-lang pkgconfig
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 

Modified: head/math/ipopt/Makefile
==============================================================================
--- head/math/ipopt/Makefile	Thu Sep 19 19:40:37 2019	(r512369)
+++ head/math/ipopt/Makefile	Thu Sep 19 19:43:47 2019	(r512370)
@@ -17,7 +17,8 @@ COMMENT=	Software package for large-scale nonlinear op
 
 LICENSE=	EPL
 
-USES=		blaslapack fortran libtool pathfix pkgconfig tar:tgz
+USES=		blaslapack compiler:c++11-lang fortran libtool pathfix \
+		pkgconfig tar:tgz
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 TEST_TARGET=	test



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909191943.x8JJhmDo096519>