aboutsummaryrefslogtreecommitdiff
path: root/games/xjewel/Makefile
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-06 20:03:22 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-06 20:45:26 +0000
commit4e1f0349cb85c882be7a0f19c28a5a0cb2ff2048 (patch)
tree4089ff4011a5c43c1b18f1089824333836dac085 /games/xjewel/Makefile
parent82ff2242c786f97b9f9d52ec45d35757e1d1365a (diff)
downloadports-4e1f0349cb85c882be7a0f19c28a5a0cb2ff2048.tar.gz
ports-4e1f0349cb85c882be7a0f19c28a5a0cb2ff2048.zip
games/xjewel: Fix build with llvm15
- Adopt port
Diffstat (limited to 'games/xjewel/Makefile')
-rw-r--r--games/xjewel/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/games/xjewel/Makefile b/games/xjewel/Makefile
index 153255fb2925..54d713227730 100644
--- a/games/xjewel/Makefile
+++ b/games/xjewel/Makefile
@@ -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>