Skip to content

Commit

Permalink
games/alephone: Fix build with llvm15
Browse files Browse the repository at this point in the history
Approved by:	portmgr (blanket)
  • Loading branch information
5u623l20 committed Jun 9, 2023
1 parent 30c44d9 commit fa644dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions games/alephone/Makefile
Expand Up @@ -46,6 +46,12 @@ SPEEX_CONFIGURE_WITH= speex
ZZIP_LIB_DEPENDS= libzzip.so:devel/zziplib
ZZIP_CONFIGURE_WITH= zzip

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif

post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs && ${INSTALL_DATA} README.txt ${STAGEDIR}${DOCSDIR}
Expand Down

0 comments on commit fa644dd

Please sign in to comment.