1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

games/xjewel: Fix build with llvm15

- Adopt port
This commit is contained in:
Muhammad Moinur Rahman 2023-06-06 22:03:22 +02:00
parent 82ff2242c7
commit 4e1f0349cb

View File

@ -5,7 +5,7 @@ CATEGORIES= games
MASTER_SITES= XCONTRIB/../R5contrib
EXTRACT_SUFX= .tar.z
MAINTAINER= ports@FreeBSD.org
MAINTAINER= bofh@FreeBSD.org
COMMENT= X11 dropping jewels game
BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf \
@ -16,9 +16,15 @@ USE_XORG= x11 xext
DESKTOP_ENTRIES="XJewel" "" "" "${PORTNAME}" "" ""
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
post-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
(cd ${WRKSRC}/bitmaps && ${INSTALL_DATA} seven_seg.pcf.gz \
${STAGEDIR}${FONTSDIR})
.include <bsd.port.mk>
.include <bsd.port.post.mk>