git: f60c08e3b14c - main - misc/xgas: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Jun 2023 22:58:01 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=f60c08e3b14c9d1f215dd0a3f3bbd96997666e83 commit f60c08e3b14c9d1f215dd0a3f3bbd96997666e83 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-08 21:24:48 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-08 22:57:48 +0000 misc/xgas: Fix build with llvm15 - Add LICENSE MIT - Pet portclippy - Adopt port --- misc/xgas/Makefile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/misc/xgas/Makefile b/misc/xgas/Makefile index 0ec01aec320e..b764547dd676 100644 --- a/misc/xgas/Makefile +++ b/misc/xgas/Makefile @@ -1,16 +1,25 @@ PORTNAME= xgas PORTVERSION= 1.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= misc MASTER_SITES= SUNSITE/X11/demos DISTNAME= ${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= The animated simulation of an ideal gas +LICENSE= MIT + USES= imake xorg USE_XORG= ice sm x11 xaw xext xmu xt + PLIST_FILES= bin/xgas lib/X11/app-defaults/XGas \ man/man1/xgas.1.gz -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + +.include <bsd.port.post.mk>