Lines 55-60
Link Here
|
55 |
VTK_LIB_DEPENDS= libvtkCommonCore-8.1.so:math/vtk8 |
55 |
VTK_LIB_DEPENDS= libvtkCommonCore-8.1.so:math/vtk8 |
56 |
VTK_BROKEN= VTK has missing ompxx symbols: https://gitlab.kitware.com/vtk/vtk/issues/17444 |
56 |
VTK_BROKEN= VTK has missing ompxx symbols: https://gitlab.kitware.com/vtk/vtk/issues/17444 |
57 |
|
57 |
|
|
|
58 |
.if !exists(/usr/lib/libstdc++.so) |
58 |
# use clang from ports because cmake can't find OpenMP with base clang, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 |
59 |
# use clang from ports because cmake can't find OpenMP with base clang, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223678 |
59 |
# This should also be an port option, but PCL fails to build w/out OpenMP: https://github.com/PointCloudLibrary/pcl/issues/2638 |
60 |
# This should also be an port option, but PCL fails to build w/out OpenMP: https://github.com/PointCloudLibrary/pcl/issues/2638 |
60 |
BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} |
61 |
BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} |
Lines 61-66
Link Here
|
61 |
CPP= clang-cpp${LLVM_DEFAULT} |
62 |
CPP= clang-cpp${LLVM_DEFAULT} |
62 |
CC= clang${LLVM_DEFAULT} |
63 |
CC= clang${LLVM_DEFAULT} |
63 |
CXX= clang++${LLVM_DEFAULT} |
64 |
CXX= clang++${LLVM_DEFAULT} |
|
|
65 |
.else |
66 |
USE_GCC= yes |
67 |
.endif |
64 |
|
68 |
|
65 |
post-patch: # 10 doesn't have std::sqrt, switching to ::sqrt from math.h |
69 |
post-patch: # 10 doesn't have std::sqrt, switching to ::sqrt from math.h |
66 |
@${GREP} -rl std::sqrt ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e 's|::std::sqrt|::sqrt|g ; s|std::sqrt|::sqrt|g' |
70 |
@${GREP} -rl std::sqrt ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e 's|::std::sqrt|::sqrt|g ; s|std::sqrt|::sqrt|g' |