summaryrefslogtreecommitdiff
path: root/graphics/py-open3d-python
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-11-18 02:26:46 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-11-18 02:26:46 +0000
commita9d55b2be979fba590690999d7d146bf8ef8bcf0 (patch)
tree41debe57025025f5477c443b9dd6135f2438fd19 /graphics/py-open3d-python
parentgraphics/py-open3d-python: fix build on GCC architectures (diff)
graphics/py-open3d-python: mark BROKEN on clang without experimental/optional
Diffstat (limited to 'graphics/py-open3d-python')
-rw-r--r--graphics/py-open3d-python/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/py-open3d-python/Makefile b/graphics/py-open3d-python/Makefile
index c97564a385d8..6a1c9c8526be 100644
--- a/graphics/py-open3d-python/Makefile
+++ b/graphics/py-open3d-python/Makefile
@@ -31,4 +31,10 @@ LDFLAGS+= -pthread # https://github.com/IntelVCL/Open3D/issues/510
PLIST_FILES= ${PYTHON_SITELIBDIR}/open3d.so
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if !exists(/usr/include/c++/v1/experimental/optional) && ${CHOSEN_COMPILER_TYPE} == clang
+BROKEN= Base C++ compiler is missing the header <experimental/optional>, see bug\#249538
+.endif
+
+.include <bsd.port.post.mk>