git: b126b7e0150a - main - games/xataxx: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Jun 2023 07:25:22 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b126b7e0150ac4bb626aa4aefab4dcac403caacd
commit b126b7e0150ac4bb626aa4aefab4dcac403caacd
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-07 06:01:46 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-07 07:25:09 +0000
games/xataxx: Fix build with llvm15
- Pet portclippy
- Adopt port
---
games/xataxx/Makefile | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/games/xataxx/Makefile b/games/xataxx/Makefile
index 2fb7f300037a..fbe14fbdc6d9 100644
--- a/games/xataxx/Makefile
+++ b/games/xataxx/Makefile
@@ -5,18 +5,26 @@ CATEGORIES= games
MASTER_SITES= XCONTRIB/../R5contrib
DISTNAME= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bofh@FreeBSD.org
COMMENT= Strategy game of position and movement for X Window System
-OPTIONS_DEFINE= DOCS
+LICENSE= NONE
USES= imake tar:Z xorg
USE_XORG= x11 xext
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README TODO
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>