Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2023 07:25:22 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b126b7e0150a - main - games/xataxx: Fix build with llvm15
Message-ID:  <202306070725.3577PM2G085009@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306070725.3577PM2G085009>