aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-07 06:01:46 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-07 07:25:09 +0000
commitb126b7e0150ac4bb626aa4aefab4dcac403caacd (patch)
tree97e9e6ac1fc00764940a7bd6bb0bdf782be83617 /games
parent6370a26a67152c1fe012832f86a59dae39150f24 (diff)
downloadports-b126b7e0150ac4bb626aa4aefab4dcac403caacd.tar.gz
ports-b126b7e0150ac4bb626aa4aefab4dcac403caacd.zip
games/xataxx: Fix build with llvm15
- Pet portclippy - Adopt port
Diffstat (limited to 'games')
-rw-r--r--games/xataxx/Makefile14
1 files 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>