mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
games/chessx: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
d1ebca215e
commit
2b636272ac
@ -31,6 +31,14 @@ STOCKFISH_DESC= Install Stockfish Chess Engine
|
||||
CRAFTY_RUN_DEPENDS= crafty:games/crafty
|
||||
STOCKFISH_RUN_DEPENDS= stockfish:games/stockfish
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
|
||||
@${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|' \
|
||||
${WRKSRC}/src/database/polyglotdatabase.cpp
|
||||
.endif
|
||||
|
||||
post-configure:
|
||||
( cd ${BUILD_WRKSRC} && ${LRELEASE} ${WRKSRC}/${PORTNAME}.pro )
|
||||
|
||||
@ -40,4 +48,4 @@ post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chessx
|
||||
${FIND} ${STAGEDIR}${PREFIX} -name 'ecp.????????' -delete
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user