git: 2ea7487d9630 - main - games/q3cellshading: Mark DEPRECATED
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Oct 2023 22:57:30 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2ea7487d96302987011bbc51f6beb58b2525a1bf
commit 2ea7487d96302987011bbc51f6beb58b2525a1bf
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-10-29 17:42:50 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-10-29 22:53:36 +0000
games/q3cellshading: Mark DEPRECATED
- BROKEN on all supported versions for more than 2 years
- Also BROKEN on 12 from portsfallout
- Set EXPIRATION_DATE 2023-11-30
---
games/q3cellshading/Makefile | 45 +++++++++++++++++++-------------------------
1 file changed, 19 insertions(+), 26 deletions(-)
diff --git a/games/q3cellshading/Makefile b/games/q3cellshading/Makefile
index c0728df99f59..b6af437ddf79 100644
--- a/games/q3cellshading/Makefile
+++ b/games/q3cellshading/Makefile
@@ -9,26 +9,28 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Quake III engine with Cell Shading capabilities
WWW= http://q3cellshading.sourceforge.net/
+DEPRECATED= BROKEN for more than 2 years on all supported versions
+EXPIRATION_DATE= 2023-11-30
+BROKEN= ld: error: duplicate symbol: re
ONLY_FOR_ARCHS= i386
ONLY_FOR_ARCHS_REASON= does not run properly; try games/ioquake3 with option
-BROKEN_FreeBSD_13= ld: error: duplicate symbol: re
-BROKEN_FreeBSD_14= ld: error: duplicate symbol: re
USES= compiler dos2unix gmake zip
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-BUILD_WRKSRC= ${WRKSRC}/code/unix
-MAKE_JOBS_UNSAFE= yes
-LIBDIR= ${PREFIX}/lib/${PORTNAME}
MAKE_ENV= LIBDIR="${LIBDIR}"
+MAKE_JOBS_UNSAFE= yes
+
+BUILD_WRKSRC= ${WRKSRC}/code/unix
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
PLIST_SUB= LIBDIR="${LIBDIR:S/${PREFIX}\///}"
VM_ARCHS= i386 powerpc
OPTIONS_DEFINE= GAMELIBS OPTIMIZED_CFLAGS
+OPTIONS_DEFAULT= CLIENT DEDICATED OPTIMIZED_CFLAGS SMP_CLIENT
OPTIONS_MULTI= FLAVOR
OPTIONS_MULTI_FLAVOR= CLIENT DEDICATED SMP_CLIENT
-OPTIONS_DEFAULT= CLIENT DEDICATED OPTIMIZED_CFLAGS SMP_CLIENT
OPTIONS_SUB= yes
CLIENT_DESC= Build client
@@ -36,6 +38,16 @@ DEDICATED_DESC= Build dedicated server
GAMELIBS_DESC= Force building game libraries
SMP_CLIENT_DESC= Build SMP (threaded) client
+CLIENT_MAKE_ENV= CLIENT=YES
+CLIENT_VARS= Q3BIN+=quake3
+DEDICATED_MAKE_ENV= DEDICATED=YES
+DEDICATED_VARS= Q3BIN+=q3ded
+OPTIMIZED_CFLAGS_MAKE_ENV= OPTIMIZED_CFLAGS=YES
+SMP_CLIENT_MAKE_ENV= SMP=YES
+SMP_CLIENT_VARS= Q3BIN+=quake3-smp
+
+LIBDIR= ${PREFIX}/lib/${PORTNAME}
+
.include <bsd.port.options.mk>
.if ${ARCH} == "i386"
@@ -58,29 +70,10 @@ USE_GL= glu
USE_XORG= xxf86dga xxf86vm
.endif
-.if ${PORT_OPTIONS:MCLIENT}
-MAKE_ENV+= CLIENT=YES
-Q3BIN+= quake3
-.endif
-
-.if ${PORT_OPTIONS:MDEDICATED}
-MAKE_ENV+= DEDICATED=YES
-Q3BIN+= q3ded
-.endif
-
.if ${PORT_OPTIONS:MGAMELIBS} || !defined(HAVE_VM_COMPILED)
MAKE_ENV+= GAMELIBS=YES
.endif
-.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
-MAKE_ENV+= OPTIMIZED_CFLAGS=YES
-.endif
-
-.if ${PORT_OPTIONS:MSMP_CLIENT}
-MAKE_ENV+= SMP=YES
-Q3BIN+= quake3-smp
-.endif
-
.include <bsd.port.pre.mk>
post-patch: