diff options
author | Rene Ladan <rene@FreeBSD.org> | 2024-08-11 13:01:29 +0200 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2024-10-01 20:56:20 +0200 |
commit | 4485bd8221c2c5630b87826d37da850b3361b782 (patch) | |
tree | 8d8c431f691b093caa563a871231d1269047ea42 /games | |
parent | www/element-web: Update to 1.11.79 (diff) |
all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X
Reviewed by: many
Differential Revision: https://reviews.freebsd.org/D46601
Diffstat (limited to 'games')
33 files changed, 33 insertions, 36 deletions
diff --git a/games/alephone/Makefile b/games/alephone/Makefile index 0e09013834f9..0c88b3ca3ecf 100644 --- a/games/alephone/Makefile +++ b/games/alephone/Makefile @@ -49,7 +49,7 @@ ZZIP_CONFIGURE_WITH= zzip .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif diff --git a/games/avp/Makefile b/games/avp/Makefile index f4b74cceb1c5..2974dff57081 100644 --- a/games/avp/Makefile +++ b/games/avp/Makefile @@ -22,7 +22,7 @@ PLIST_FILES= bin/${PORTNAME} .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/awele/Makefile b/games/awele/Makefile index 4a1e6883608a..6e62d526b5aa 100644 --- a/games/awele/Makefile +++ b/games/awele/Makefile @@ -19,7 +19,7 @@ PLIST_FILES= bin/awelewish bin/xawele share/man/man6/xawele.6.gz .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/falconseye/Makefile b/games/falconseye/Makefile index f60ae4055697..a7fdc9ea38d7 100644 --- a/games/falconseye/Makefile +++ b/games/falconseye/Makefile @@ -32,12 +32,10 @@ NETHACKCONFIG= ${FILESDIR}/x-config .include <bsd.port.pre.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion -.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif -.endif post-patch: @${REINPLACE_CMD} -i '' -e "s|<malloc.h>|<stdlib.h>|" \ diff --git a/games/foobillard/Makefile b/games/foobillard/Makefile index d5eed728653c..f55f4f26f36a 100644 --- a/games/foobillard/Makefile +++ b/games/foobillard/Makefile @@ -49,8 +49,7 @@ FREETYPE_CONFIG?= pkg-config freetype2 .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || \ - ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/glsfcave/Makefile b/games/glsfcave/Makefile index d7054d3d9ac5..be05d1ed09a3 100644 --- a/games/glsfcave/Makefile +++ b/games/glsfcave/Makefile @@ -22,7 +22,7 @@ OPTIONS_DEFINE= DOCS .include <bsd.port.options.mk> do-build: -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD cd ${WRKSRC} && ${CC} -o glsfcave main.c -I${LOCALBASE}/include \ -Wno-error=incompatible-function-pointer-types \ -L${LOCALBASE}/lib -lglut -lGL -lGLU diff --git a/games/gshisen/Makefile b/games/gshisen/Makefile index a8960499570d..b3db4fce53cb 100644 --- a/games/gshisen/Makefile +++ b/games/gshisen/Makefile @@ -16,7 +16,7 @@ USE_GNUSTEP= back build .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/kevedit/Makefile b/games/kevedit/Makefile index f82ffb85a27a..4f45a1bd6fcc 100644 --- a/games/kevedit/Makefile +++ b/games/kevedit/Makefile @@ -21,7 +21,7 @@ GNU_CONFIGURE= yes .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/ldmud/Makefile b/games/ldmud/Makefile index 5b4d3f2cae75..77671b86d4c8 100644 --- a/games/ldmud/Makefile +++ b/games/ldmud/Makefile @@ -50,7 +50,7 @@ SQLITE_CONFIGURE_ENABLE=use-sqlite .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/libgnome-games-support/Makefile b/games/libgnome-games-support/Makefile index 71e0984cafb1..efe13e17fc83 100644 --- a/games/libgnome-games-support/Makefile +++ b/games/libgnome-games-support/Makefile @@ -21,7 +21,7 @@ USE_GNOME= cairo gdkpixbuf2 gtk30 .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/libretro-mame2000/Makefile b/games/libretro-mame2000/Makefile index 3e825c03c582..421d8d9465bc 100644 --- a/games/libretro-mame2000/Makefile +++ b/games/libretro-mame2000/Makefile @@ -20,7 +20,7 @@ PLIST_FILES= lib/libretro/mame2000_libretro.so .include <bsd.port.pre.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif diff --git a/games/libretro-mame2003_plus/Makefile b/games/libretro-mame2003_plus/Makefile index eda8d7903e83..63d45ec13df3 100644 --- a/games/libretro-mame2003_plus/Makefile +++ b/games/libretro-mame2003_plus/Makefile @@ -20,7 +20,7 @@ PLIST_FILES= lib/libretro/mame2003_plus_libretro.so .include <bsd.port.pre.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif diff --git a/games/miscom/Makefile b/games/miscom/Makefile index 4015ed1fde56..382b32baab36 100644 --- a/games/miscom/Makefile +++ b/games/miscom/Makefile @@ -31,7 +31,7 @@ OPTIONS_DEFINE= DOCS CFLAGS+= -DSOUNDSDIR='\"${DATADIR}\"' -DSOUND_SUPPORT -DMORE_SOUNDBUF .endif -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/nethack32/Makefile b/games/nethack32/Makefile index 8a015487f91e..fb8bde20ce9c 100644 --- a/games/nethack32/Makefile +++ b/games/nethack32/Makefile @@ -40,7 +40,7 @@ PLIST_SUB+= HACKLINK="" PLIST_SUB+= HACKLINK="@comment " .endif -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/nethack33/Makefile b/games/nethack33/Makefile index 501d6520f1b8..62e58b8e3970 100644 --- a/games/nethack33/Makefile +++ b/games/nethack33/Makefile @@ -47,7 +47,7 @@ PLIST_SUB+= HACKLINK="" PLIST_SUB+= HACKLINK="@comment " .endif -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile index 673b0714d29d..ca58e3e61494 100644 --- a/games/nethack34/Makefile +++ b/games/nethack34/Makefile @@ -81,7 +81,7 @@ PLIST_SUB+= HACKLINK="" PLIST_SUB+= HACKLINK="@comment " .endif -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/oolite/Makefile b/games/oolite/Makefile index 13d416bb0cdb..7356a3201a20 100644 --- a/games/oolite/Makefile +++ b/games/oolite/Makefile @@ -60,7 +60,7 @@ BROKEN_i386= fails to compile: ../methodjit/MethodJIT.cpp:318:5: error: expecte .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD ADDITIONAL_CPPFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/prboom-plus/Makefile b/games/prboom-plus/Makefile index 6256b4eff700..0bec5d3527dd 100644 --- a/games/prboom-plus/Makefile +++ b/games/prboom-plus/Makefile @@ -36,7 +36,7 @@ OPENGL_CONFIGURE_ENABLE= gl .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/spellcast/Makefile b/games/spellcast/Makefile index 344826845911..cfeead9dcf7e 100644 --- a/games/spellcast/Makefile +++ b/games/spellcast/Makefile @@ -24,7 +24,7 @@ OPTIONS_DEFINE= DOCS .include <bsd.port.pre.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif diff --git a/games/tads/Makefile b/games/tads/Makefile index b62391ff31df..d6d974f5f433 100644 --- a/games/tads/Makefile +++ b/games/tads/Makefile @@ -23,7 +23,7 @@ WRKSRC= ${WRKDIR}/tads-3.0.8/tads2 .include <bsd.port.pre.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif diff --git a/games/trojka/Makefile b/games/trojka/Makefile index 69e1f6a8dd0b..3b7ec92c8c8c 100644 --- a/games/trojka/Makefile +++ b/games/trojka/Makefile @@ -17,7 +17,7 @@ USES= ncurses .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/tuxpaint/Makefile b/games/tuxpaint/Makefile index c19f30504532..cedf4035fce6 100644 --- a/games/tuxpaint/Makefile +++ b/games/tuxpaint/Makefile @@ -55,7 +55,7 @@ OPTIONS_DEFINE= DOCS .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/tuxracer/Makefile b/games/tuxracer/Makefile index 0c235a1f9fb9..2ce32e5af4e3 100644 --- a/games/tuxracer/Makefile +++ b/games/tuxracer/Makefile @@ -31,7 +31,7 @@ CPPFLAGS+= -DGLX_GLXEXT_LEGACY .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/xboing/Makefile b/games/xboing/Makefile index 70c88e0b684f..cf899d181fcc 100644 --- a/games/xboing/Makefile +++ b/games/xboing/Makefile @@ -23,7 +23,7 @@ SOUND_MAKE_ENV= WITHOUT_AUDIO=True .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif diff --git a/games/xbubble/Makefile b/games/xbubble/Makefile index 9d60319f1839..0dfcb37b22fe 100644 --- a/games/xbubble/Makefile +++ b/games/xbubble/Makefile @@ -28,7 +28,7 @@ NLS_LIBS= -lintl .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/xfireworks/Makefile b/games/xfireworks/Makefile index 372fb7780fd2..6f7d70b660a3 100644 --- a/games/xfireworks/Makefile +++ b/games/xfireworks/Makefile @@ -16,7 +16,7 @@ USE_XORG= x11 .include <bsd.port.pre.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif diff --git a/games/xjewel/Makefile b/games/xjewel/Makefile index a7d3101d4a2a..727d2c8babc7 100644 --- a/games/xjewel/Makefile +++ b/games/xjewel/Makefile @@ -18,7 +18,7 @@ DESKTOP_ENTRIES="XJewel" "" "" "${PORTNAME}" "" "" .include <bsd.port.pre.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif diff --git a/games/xlennart/Makefile b/games/xlennart/Makefile index dadd4bbc3b68..799587da042f 100644 --- a/games/xlennart/Makefile +++ b/games/xlennart/Makefile @@ -52,7 +52,7 @@ SCORES_DIR?= ${DATADIR}/scores .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/xmille/Makefile b/games/xmille/Makefile index 387e315fcda3..14ce4c0f608a 100644 --- a/games/xmille/Makefile +++ b/games/xmille/Makefile @@ -23,7 +23,7 @@ PLIST_FILES= bin/xmille share/man/man1/xmille.1.gz .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif diff --git a/games/xneko/Makefile b/games/xneko/Makefile index 5b65e9ba1154..f4d36cfe5b64 100644 --- a/games/xneko/Makefile +++ b/games/xneko/Makefile @@ -16,7 +16,7 @@ PLIST_FILES= bin/xneko share/man/man6/xneko.6.gz .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif diff --git a/games/xpipeman/Makefile b/games/xpipeman/Makefile index 3ec2d92d6c4c..32e0873a229f 100644 --- a/games/xpipeman/Makefile +++ b/games/xpipeman/Makefile @@ -17,7 +17,7 @@ CFLAGS+= -Wno-error=return-type .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/xroach/Makefile b/games/xroach/Makefile index 05d674439480..3860dcab6cfc 100644 --- a/games/xroach/Makefile +++ b/games/xroach/Makefile @@ -24,7 +24,7 @@ PLIST_FILES= bin/xroach share/man/man6/xroach.6.gz .include <bsd.port.options.mk> -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif diff --git a/games/xtrojka/Makefile b/games/xtrojka/Makefile index 6fb36be4ccb2..10cc1ee9df26 100644 --- a/games/xtrojka/Makefile +++ b/games/xtrojka/Makefile @@ -19,7 +19,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME} .include <bsd.port.options.mk> post-patch: -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +.if ${OPSYS} == FreeBSD @${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS=-Wno-error=incompatible-function-pointer-types |g' \ ${WRKSRC}/Makefile .endif |