diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-03 14:55:24 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-03 15:38:52 +0000 |
commit | 478a7d2b44172c85cfb497451660008f7446d355 (patch) | |
tree | e442a93962121d5cd1a1fb04f848b20e32747eb9 | |
parent | 4c2bb9fcd1b6d276d8fde1d27114290befe03dea (diff) |
games/spider: Fix build on llvm15
- Adopt port
-rw-r--r-- | games/spider/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/games/spider/Makefile b/games/spider/Makefile index b1845f12524c..28fb48d306af 100644 --- a/games/spider/Makefile +++ b/games/spider/Makefile @@ -5,7 +5,7 @@ CATEGORIES= games MASTER_SITES= SUNSITE/games/solitaires DISTNAME= ${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Challenging double decked solitaire game LICENSE= Spider @@ -16,7 +16,15 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= imake tar:Z xorg USE_XORG= x11 xext xaw xmu xt sm ice xpm + INSTALL_TARGET= install install.doc + CFLAGS+= -Wno-error=return-type -.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> |