Lines 82-85
PLIST_SUB+= ONLY_INSTALLED_WITH_LLVM_CLANG_13=""
Link Here
|
82 |
PLIST_SUB+= ONLY_INSTALLED_WITH_LLVM_CLANG_13="@comment " |
82 |
PLIST_SUB+= ONLY_INSTALLED_WITH_LLVM_CLANG_13="@comment " |
83 |
.endif |
83 |
.endif |
84 |
|
84 |
|
85 |
.include <bsd.port.mk> |
85 |
.include <bsd.port.pre.mk> |
|
|
86 |
|
87 |
# In LLVM/Clang 10.0.1 (used on FreeBSD 12.3), the cstdalign header is missing from the std modulemap, but it is declared included in ROOT's std modulemap - this has to be removed. |
88 |
# See https://github.com/llvm/llvm-project/blob/main/libcxx/include/module.modulemap.in#L181 |
89 |
# The same seems to be the case for the other headers defined in the variable "modules" below. |
90 |
.if ${OSVERSION} < 1204000 |
91 |
modules= cstdalign cuchar experimental/string_view ext/functional ext/numeric ext/type_traits.h bits_alloc_traits_h bits/allocator.h bits/basic_ios.h bits/cpp_type_traits.h bits/exception_defines.h bits/ios_base.h bits/locale_facets.h bits_stl_algobase_h bits_stl_iterator_h bits/stl_iterator_base_types.h bits/stl_map.h bits/stl_pair.h bits_stl_tree_h bits/uniform_int_dist.h |
92 |
post-patch: |
93 |
SCRIPTDIR=${SCRIPTDIR} MODULEMAP=${WRKSRC}/interpreter/cling/include/cling/std.modulemap ${SH} ${SCRIPTDIR}/remove-modules-from-modulemap.sh "${modules}" |
94 |
.endif |
95 |
|
96 |
.include <bsd.port.post.mk> |