aboutsummaryrefslogtreecommitdiff
path: root/math/ceres-solver
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-12-21 15:56:58 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-12-21 15:56:58 +0000
commitdcd3a41a9d6a5b7b5f191a00477a60f7968e4cba (patch)
treef25d0baa5f68eee008ac743cbeb6ed825f096094 /math/ceres-solver
parentdbfc5d0e63d490432845fc4cea88b76f8370aef7 (diff)
downloadports-dcd3a41a9d6a5b7b5f191a00477a60f7968e4cba.tar.gz
ports-dcd3a41a9d6a5b7b5f191a00477a60f7968e4cba.zip
Notes
Diffstat (limited to 'math/ceres-solver')
-rw-r--r--math/ceres-solver/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/ceres-solver/Makefile b/math/ceres-solver/Makefile
index 3a9bcbb796c7..a539463c6211 100644
--- a/math/ceres-solver/Makefile
+++ b/math/ceres-solver/Makefile
@@ -108,4 +108,10 @@ post-install-EXAMPLES-on:
@${RM} -r ${STAGEDIR}${EXAMPLESDIR}/bin/*_test
-@${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/bin/* # may fail for non-root
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 && ${OSVERSION} < 1002000
+BROKEN= does not build on FreeBSD 10.1 (undefined reference to `__cxa_throw_bad_array_new_length')
+.endif
+
+.include <bsd.port.post.mk>