Skip to content

Commit

Permalink
games/xjewel: Fix build with llvm15
Browse files Browse the repository at this point in the history
- Adopt port
  • Loading branch information
5u623l20 committed Jun 6, 2023
1 parent 82ff224 commit 4e1f034
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions games/xjewel/Makefile
Expand Up @@ -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 \
Expand All @@ -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>

0 comments on commit 4e1f034

Please sign in to comment.