diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-10 17:13:28 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-10 17:14:08 +0000 |
commit | cea999c5ffa60cc29ef9589e8fb75d699d3af209 (patch) | |
tree | 38fa6949bd79fb10726b01dd78c6d1511dd99a31 | |
parent | 0d6240b224fc6fd0d095a4126109721c46fe5a20 (diff) | |
download | ports-cea999c5ffa60cc29ef9589e8fb75d699d3af209.tar.gz ports-cea999c5ffa60cc29ef9589e8fb75d699d3af209.zip |
games/xmille: Fix build with llvm15
- Pet portclippy
-rw-r--r-- | games/xmille/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/games/xmille/Makefile b/games/xmille/Makefile index b4a820a2e7d5..16ce68a7d218 100644 --- a/games/xmille/Makefile +++ b/games/xmille/Makefile @@ -8,14 +8,25 @@ DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= X window mille bourne game -WRKSRC= ${WRKDIR}/Mille +LICENSE= NONE USES= imake xorg USE_XORG= x11 xext -PLIST_FILES= bin/xmille man/man1/xmille.1.gz + MAKE_JOBS_UNSAFE= yes + CFLAGS+= -Wno-error=return-type +WRKSRC= ${WRKDIR}/Mille + +PLIST_FILES= bin/xmille man/man1/xmille.1.gz + +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + post-extract: @${FIND} ${WRKSRC} -name '*.[ao]' -delete |