Skip to content

Commit

Permalink
science/py-hoomd-blue: Fix build with llvm16
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Aug 5, 2023
1 parent 6ba836b commit 5c4690e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion science/py-hoomd-blue/Makefile
Expand Up @@ -57,4 +57,12 @@ TBB_LIB_DEPENDS= libtbb.so:devel/onetbb

# the test mpi-test_communication requires excessive resources, see https://github.com/glotzerlab/hoomd-blue/issues/1396

.include <bsd.port.mk>
.include <bsd.port.pre.mk>

post-patch:
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
@${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \
${WRKSRC}/hoomd/ParticleData.cc
.endif

.include <bsd.port.post.mk>

0 comments on commit 5c4690e

Please sign in to comment.