svn commit: r512370 - in head/math: casadi ipopt

Piotr Kubaj pkubaj at FreeBSD.org
Thu Sep 19 19:43:48 UTC 2019


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


More information about the svn-ports-all mailing list