git: ec96570b83e9 - main - games/tads: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Jun 2023 15:31:07 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ec96570b83e9d9825569157bf1a47e11b8d173ca commit ec96570b83e9d9825569157bf1a47e11b8d173ca Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-08 13:36:21 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-08 15:30:53 +0000 games/tads: Fix build with llvm15 - Pet portclippy - Adopt port --- games/tads/Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/games/tads/Makefile b/games/tads/Makefile index 22737665fac9..b62391ff31df 100644 --- a/games/tads/Makefile +++ b/games/tads/Makefile @@ -4,7 +4,7 @@ CATEGORIES= games lang MASTER_SITES= LOCAL/kris DISTNAME= tads23-unix -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= TADS compiler/interpreter for interactive fiction WWW= https://www.tads.org/ @@ -13,12 +13,20 @@ LICENSE_NAME= TADS FREEWARE SOURCE CODE LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE.TXT LICENSE_PERMS= dist-mirror pkg-mirror auto-accept +USES= ncurses + CONFLICTS= frobtads-1.* -USES= ncurses -WRKSRC= ${WRKDIR}/tads-3.0.8/tads2 DATADIR= ${PREFIX}/share/tads2 +WRKSRC= ${WRKDIR}/tads-3.0.8/tads2 + +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/tads2 .for i in tadsc tadsr tdb @@ -28,4 +36,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${PREFIX}/share/tads2 .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk>