diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-03 19:58:54 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-03 19:59:25 +0000 |
commit | cbd6385084abcc520eb320fb691586ab0ac98cc4 (patch) | |
tree | 834353c1f1684e57ce780a6c57178308c6331df6 /games | |
parent | b6810fa62f3973d253ad819c169421b26735319e (diff) | |
download | ports-cbd6385084abcc520eb320fb691586ab0ac98cc4.tar.gz ports-cbd6385084abcc520eb320fb691586ab0ac98cc4.zip |
games/xfireworks: Fix build with llvm15
- Adpot port
Diffstat (limited to 'games')
-rw-r--r-- | games/xfireworks/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/games/xfireworks/Makefile b/games/xfireworks/Makefile index aa0deb1b24f1..e461cfa1fb3a 100644 --- a/games/xfireworks/Makefile +++ b/games/xfireworks/Makefile @@ -4,7 +4,7 @@ PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://kozos.jp/myfreesoft/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Fireworks on X WWW= https://kozos.jp/myfreesoft/ @@ -14,9 +14,15 @@ LICENSE_COMB= dual USES= xorg USE_XORG= x11 +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xfireworks ${STAGEDIR}${PREFIX}/bin/xfireworks ${INSTALL_MAN} ${WRKSRC}/xfireworks.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/xfireworks.conf ${STAGEDIR}${PREFIX}/etc/xfireworks.conf.sample -.include <bsd.port.mk> +.include <bsd.port.post.mk> |