svn commit: r477994 - head/biology/libsbml
Tobias Kortkamp
tobik at FreeBSD.org
Sat Aug 25 03:31:44 UTC 2018
Author: tobik
Date: Sat Aug 25 03:31:43 2018
New Revision: 477994
URL: https://svnweb.freebsd.org/changeset/ports/477994
Log:
biology/libsbml: Fix build with Clang 6
In file included from /wrkdirs/usr/ports/biology/libsbml/work/libsbml-5.17.0/src/sbml/Model.cpp:41:
In file included from /wrkdirs/usr/ports/biology/libsbml/work/libsbml-5.17.0/src/sbml/SBMLDocument.h:298:
In file included from /wrkdirs/usr/ports/biology/libsbml/work/libsbml-5.17.0/src/sbml/SBMLTransforms.h:48:
In file included from /wrkdirs/usr/ports/biology/libsbml/work/libsbml-5.17.0/src/sbml/FunctionDefinition.h:129:
In file included from /wrkdirs/usr/ports/biology/libsbml/work/libsbml-5.17.0/src/sbml/SBO.h:207:
/usr/include/c++/v1/map:629:15: error: object of type 'std::__1::pair<std::__1::pair<const std::__1::basic_string<char>, int>, FormulaUnitsData *>' cannot be assigned because its copy assignment operator is implicitly deleted
{__nc = __v.__cc; return *this;}
^
http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/libsbml-5.17.0.log
Modified:
head/biology/libsbml/Makefile
Modified: head/biology/libsbml/Makefile
==============================================================================
--- head/biology/libsbml/Makefile Sat Aug 25 03:22:18 2018 (r477993)
+++ head/biology/libsbml/Makefile Sat Aug 25 03:31:43 2018 (r477994)
@@ -16,6 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING.txt
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= cmake:outsource iconv:build
+USE_CXXSTD= c++98
USE_GNOME= libxml2
USE_LDCONFIG= yes
@@ -51,12 +52,4 @@ post-install-EXAMPLES-on:
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
${STAGEDIR}${EXAMPLESDIR} '! -name *Makefile*'
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD
-.if ( ${OSVERSION} >= 1101513 && ${OSVERSION} < 1200000 ) || ${OSVERSION} >= 1200060
-BROKEN= fails to compile with clang6 or later
-.endif
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list